mirror of
https://github.com/ublue-os/forge.git
synced 2025-04-18 20:43:43 +03:00
fix(nicegui): empty image table should use same column names as when images are available
This commit is contained in:
parent
6297b8f951
commit
ae10ebc4ac
|
@ -6,7 +6,7 @@ from utils.registry import DockerRegistry
|
|||
|
||||
## TODO: this should be async but I currently don't know how to implement this without button press
|
||||
def get_image_info() -> pandas.DataFrame:
|
||||
data = pandas.DataFrame(columns=["image_name", "tag", "size"])
|
||||
data = pandas.DataFrame(columns=["image", "tag", "size"])
|
||||
try:
|
||||
registry = DockerRegistry()
|
||||
all_image_info = registry.get_all_image_info()
|
||||
|
|
Loading…
Reference in a new issue