mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Used theme package name for hiding theme-specific font settings (#21545)
ref DES-929
This commit is contained in:
parent
fefd45a27b
commit
9516d144a0
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ const themeSettingsMap: ThemeSettingsMap = {
|
|||
const ThemeSettings: React.FC<ThemeSettingsProps> = ({sections, updateSetting}) => {
|
||||
const {data: themesData} = useBrowseThemes();
|
||||
const activeTheme = themesData?.themes.find((theme: Theme) => theme.active);
|
||||
const activeThemeName = activeTheme?.name.toLowerCase() || '';
|
||||
const activeThemeName = activeTheme?.package.name?.toLowerCase() || '';
|
||||
const hasCustomFonts = useFeatureFlag('customFonts');
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue