No longer showing logged out users the profile pic thingy
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8c1a2d319b
commit
2010cc3260
|
@ -12,7 +12,7 @@
|
|||
onDestroy(unsubscribe);
|
||||
|
||||
async function logout() {
|
||||
await Apiclient.logout().catch((e)=>{});
|
||||
await Apiclient.logout().catch((e) => {});
|
||||
UserStore.logout();
|
||||
}
|
||||
</script>
|
||||
|
@ -155,13 +155,15 @@
|
|||
{/if}
|
||||
</nav>
|
||||
|
||||
{#if logged_in}
|
||||
<div class="flex items-center px-4 -mx-2">
|
||||
<img
|
||||
class="object-cover mx-2 rounded-full h-9 w-9"
|
||||
src="https://images.unsplash.com/photo-1531427186611-ecfd6d936c79?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80"
|
||||
alt="avatar"
|
||||
/>
|
||||
<h4 class="mx-2 font-medium text-gray-800 dark:text-gray-200 hover:underline">John Doe</h4>
|
||||
<h4 class="mx-2 font-medium text-gray-800 dark:text-gray-200 hover:underline">Username here</h4>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue