diff --git a/src/interface/components/communityThemes/MyThemesPanel.svelte b/src/interface/components/communityThemes/MyThemesPanel.svelte index b020ecec..1968c336 100644 --- a/src/interface/components/communityThemes/MyThemesPanel.svelte +++ b/src/interface/components/communityThemes/MyThemesPanel.svelte @@ -13,7 +13,7 @@ import type { CustomTheme } from "@/types/CustomThemes"; import { ThemeManager } from "@/plugins/built-in/themes/theme-manager"; import { themeUpdates } from "@/interface/hooks/ThemeUpdates"; - import { filterThemesByMode } from "@/interface/utils/themeListFilters"; + import { isLocalCustomTheme } from "@/interface/utils/themeListFilters"; import { formatCustomThemeApiError } from "@/seqta/utils/customThemes/apiErrors"; let { communityState }: { communityState: CommunityThemesState } = $props(); @@ -30,7 +30,7 @@ localThemesLoading = true; try { const all = await themeManager.getAvailableThemes(); - localThemes = filterThemesByMode(all, "custom"); + localThemes = all.filter(isLocalCustomTheme); } finally { localThemesLoading = false; } @@ -101,7 +101,7 @@ {:else if localThemes.length === 0}
- No local custom themes yet. Use Create & submit above or build one in Custom themes settings. + No local custom themes yet. Use Create & submit above or build one in My themes.
{:else}- Use the theme builder above to get started. -
- {:else if listMode === 'downloaded'} -- Browse the theme store to find and install themes. -
-- Install a theme from the store or create one of your own. -
-+ Install a theme from the store or create one of your own. +
{submitError}
+ {/if} - {#if listMode === 'custom' && submitError} -{submitError}
- {/if} + {#if themes && showNavigation} + - {#if listMode === 'custom'} -