mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-21 16:28:17 +00:00
Fix: [ALAS] Show empty stored
This commit is contained in:
parent
02df312daa
commit
998bb415d2
@ -366,8 +366,10 @@ def put_arg_stored(kwargs: T_Output_Kwargs) -> Output:
|
||||
put_text(value).style("--dashboard-value--")
|
||||
])]
|
||||
else:
|
||||
# Empty
|
||||
rows = []
|
||||
# No Data
|
||||
rows = [put_scope(f"dashboard-value-{name}", [
|
||||
put_text(t("Gui.Dashboard.NoData")).style("--dashboard-value--")
|
||||
])]
|
||||
# Add other key-value in stored
|
||||
if values:
|
||||
rows += [
|
||||
@ -379,6 +381,11 @@ def put_arg_stored(kwargs: T_Output_Kwargs) -> Output:
|
||||
rows.append(
|
||||
put_text(time_).style("--dashboard-time--")
|
||||
)
|
||||
else:
|
||||
# Blank row
|
||||
rows.append(
|
||||
put_text(" ").style("--dashboard-time--")
|
||||
)
|
||||
|
||||
return put_scope(
|
||||
f"arg_container-stored-{name}",
|
||||
|
Loading…
Reference in New Issue
Block a user