Skip to content

Commit 003cd30

Browse files
committed
Show feature if login is not required
1 parent 744d4a0 commit 003cd30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/settings/+layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
</a>
100100
{/each}
101101

102-
{#if data.loginEnabled && !!data.user}
102+
{#if !data.loginEnabled || (data.loginEnabled && !!data.user)}
103103
<a
104104
href="{base}/settings/assistants/new"
105105
class="group flex h-10 flex-none items-center gap-2 pl-3 pr-2 text-sm text-gray-500 hover:bg-gray-100 md:rounded-xl

0 commit comments

Comments
 (0)