mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-10-05 09:35:31 -03:00
fix(ui): explain a 0 Buzz threshold in the price alerts panel
The default threshold is 0 ("only tell me when a version becomes free") and the
settings copy says so, but the panel did not: a real instance with 52 priced paid
versions and an untouched threshold showed "Nothing is under your price threshold
right now" with only a small "Alert threshold: 0 Buzz" in the corner, which reads
as a broken feature.
- the payload now carries pricedCount, so the empty state can say how many paid
versions already have a known price
- when the threshold is 0 and prices are known, the empty state says so and
points at Settings - Library instead of implying there is nothing to show
- the read-time threshold comparison means setting one takes effect immediately;
measured on a copy of that instance: 0 Buzz -> 0 alerts, 100 -> 44,
500 -> 48, 5000 -> 51
This commit is contained in:
+2
-1
@@ -2411,7 +2411,8 @@
|
||||
"droppedAgo": "dropped {when}",
|
||||
"openCivitai": "Open on CivitAI",
|
||||
"openLocal": "Open",
|
||||
"unavailable": "{count} paid version(s) have no readable price (mature models can only be read in a browser)"
|
||||
"unavailable": "{count} paid version(s) have no readable price (mature models can only be read in a browser)",
|
||||
"emptyZeroThreshold": "{count} paid version(s) have a known price, but your threshold is 0 Buzz so only free versions are listed. Set a threshold in Settings - Library to catch price drops."
|
||||
}
|
||||
},
|
||||
"support": {
|
||||
|
||||
Reference in New Issue
Block a user