fix(price): hide stored fallback when last-price display is off

Treat only live quote sources as open; a leftover database price should not stay on screen after the admin switch is turned off.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-25 03:01:10 +03:30
co-authored by Cursor
parent ea71591557
commit 2238a34c53
2 changed files with 30 additions and 15 deletions
+4
View File
@@ -31,4 +31,8 @@ export interface Price {
time?: string
main_product?: number
montzar?: number
zaarbox?: number
/** montzar | zaarbox | main_product | store = مظنه زنده، database_last = آخرین قیمت ذخیره‌شده */
price_source?: string | null
last_historical?: number
}