feat: predvolena cenovka je sablona Super vyhodne | Cervena (neda sa zmazat)

- volba Predvolena COOP cenovka v produkte zrusena; produkty bez sablony
  dostanu predvolenu sablonu automaticky
- sablony z prehliadaca (localStorage) sa pridavaju len ak este nie su
  ulozene v databaze, zmazane sablony sa uz nevracaju

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub_HostacnyandClaude Opus 5.5 committed 2026-10-21 16:49:27 +02:00
1 parent 184e55ad5b
commit b747a3ba74
5 files changed
+56 -10

No files matched your search

+3 -1
View File
@@ -20,6 +20,7 @@ export interface BadgeRow {
paddingTop?: number;
paddingBottom?: number;
importTags?: BadgeImportTags;
isDefault?: boolean;
}
| null;
}
@@ -36,7 +37,8 @@ export function badgeFromRow(d: BadgeRow): BadgeTemplate {
align: cfg?.align || 'center',
paddingTop: cfg?.paddingTop ?? 4,
paddingBottom: cfg?.paddingBottom ?? 4,
importTags: cfg?.importTags
importTags: cfg?.importTags,
isDefault: cfg?.isDefault || undefined
};
}