mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 23:16:21 +00:00
💱 Changed the ui-config so please update !
This commit is contained in:
@@ -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 />;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user