Generalized frontend model store (#193)

This commit is contained in:
Gregory Schier
2025-03-31 11:56:17 -07:00
committed by GitHub
parent ce885c3551
commit f1757ae427
201 changed files with 2185 additions and 2865 deletions
+2 -7
View File
@@ -14,7 +14,7 @@ const details: Record<
commercial_use: null,
invalid_license: { label: 'License Error', color: 'danger' },
personal_use: { label: 'Personal Use', color: 'notice' },
trialing: { label: 'Personal Use', color: 'notice' },
trialing: { label: 'Personal Use', color: 'info' },
};
export function LicenseBadge() {
@@ -23,12 +23,7 @@ export function LicenseBadge() {
if (check.error) {
return (
<LicenseBadgeButton
color="danger"
onClick={() => {
openSettings.mutate(SettingsTab.License);
}}
>
<LicenseBadgeButton color="danger" onClick={() => openSettings.mutate(SettingsTab.License)}>
License Error
</LicenseBadgeButton>
);