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}
<div class="preview-header">
<ComponentSelectionList />
<AppThemeSelect />
{#if $store.clientFeatures.spectrumThemes}
<AppThemeSelect />
{/if}
</div>
<div class="preview-content">
<CurrentItemPreview />