misc: change login button to always be 'accounts' button

This commit is contained in:
Xyphyn committed 2023-08-24 16:59:11 -07:00
1 parent 2c3865ee30
commit 27b748d194
1 file changed
-7
-7
View File
@@ -227,12 +227,6 @@
<Icon src={Bookmark} mini width={16} /> Saved <Icon src={Bookmark} mini width={16} /> Saved
</MenuButton> </MenuButton>
{/if} {/if}
{#if $profileData.profiles.length == 0}
<MenuButton link href="/login">
<Icon src={ArrowLeftOnRectangle} mini width={16} />
Log in
</MenuButton>
{:else}
<MenuButton link href="/accounts"> <MenuButton link href="/accounts">
<Icon src={UserGroup} mini width={16} /> <Icon src={UserGroup} mini width={16} />
Accounts Accounts
@@ -242,7 +236,6 @@
{$profileData.profiles.length} {$profileData.profiles.length}
</span> </span>
</MenuButton> </MenuButton>
{/if}
<hr class="dark:opacity-10 w-[90%] my-2 mx-auto" /> <hr class="dark:opacity-10 w-[90%] my-2 mx-auto" />
<li class="text-xs px-4 py-1 my-1 opacity-80">App</li> <li class="text-xs px-4 py-1 my-1 opacity-80">App</li>
<MenuButton link href="/settings"> <MenuButton link href="/settings">