diff --git a/src-web/components/Settings/SettingsInterface.tsx b/src-web/components/Settings/SettingsInterface.tsx index 5d21d2c0..83f1192c 100644 --- a/src-web/components/Settings/SettingsInterface.tsx +++ b/src-web/components/Settings/SettingsInterface.tsx @@ -199,7 +199,7 @@ function NativeTitlebarSetting({ settings }: { settings: Settings }) { function LicenseSettings({ settings }: { settings: Settings }) { const license = useLicense(); - if (license.check.data?.type !== 'personal_use') { + if (license.check.data?.status !== 'personal_use') { return null; } diff --git a/src-web/components/SettingsDropdown.tsx b/src-web/components/SettingsDropdown.tsx index 5b615218..7e623309 100644 --- a/src-web/components/SettingsDropdown.tsx +++ b/src-web/components/SettingsDropdown.tsx @@ -67,7 +67,7 @@ export function SettingsDropdown() { { label: 'Purchase License', color: 'success', - hidden: check.data == null || check.data.type === 'commercial_use', + hidden: check.data == null || check.data.status === 'active', leftSlot: , onSelect: () => openSettings.mutate('license'), },