refac: move ui flags into feature flags

This commit is contained in:
Jun Siang Cheah committed 2024-05-26 17:05:26 +01:00
1 parent 7b81271b9e
commit 6c5f5fe368
5 files changed
+25 -19

No files matched your search

@@ -693,7 +693,7 @@
</button>
</Tooltip>
{#if $config.enable_image_generation && !readOnly}
{#if $config?.feature_flags.enable_image_generation && !readOnly}
<Tooltip content="Generate Image" placement="bottom">
<button
class="{isLastMessage