💱 Changed the ui-config so please update !

This commit is contained in:
duckietm
2026-03-23 16:49:44 +01:00
parent a5cfdcc59a
commit dc678cb7ff
3 changed files with 3 additions and 2435 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ import { CatalogModernView } from './CatalogModernView';
export const CatalogView: FC<{}> = () =>
{
const style = GetConfigurationValue<string>('catalog.style', 'classic');
const useNewStyle = GetConfigurationValue<boolean>('catalog.style.new', false);
if(style === 'new') return <CatalogModernView />;
if(useNewStyle) return <CatalogModernView />;
return <CatalogClassicView />;
};