Use client feature flags to conditionally show theme picker

This commit is contained in:
Andrew Kingston 2021-07-07 13:55:05 +01:00
parent cc7b07a020
commit fb6c115adf
1 changed files with 3 additions and 1 deletions

View File

@ -150,7 +150,9 @@
{#if $currentAsset} {#if $currentAsset}
<div class="preview-header"> <div class="preview-header">
<ComponentSelectionList /> <ComponentSelectionList />
{#if $store.clientFeatures.spectrumThemes}
<AppThemeSelect /> <AppThemeSelect />
{/if}
</div> </div>
<div class="preview-content"> <div class="preview-content">
<CurrentItemPreview /> <CurrentItemPreview />