Compare commits

..

No commits in common. "5424772abbeb1c4eb12be0ddc3ec33579b4b0384" and "e80b6e71045bdc89cdca445dbd26ed271239e51d" have entirely different histories.

View file

@ -32,9 +32,7 @@
let route;
switch (name) {
case "timeline":
if (!get(client).user) break;
route = "/";
getTimeline(true);
break;
case "notifcations":
case "explore":
@ -68,16 +66,15 @@
<div id="nav-items">
<Button label="Timeline"
on:click={() => handle_btn("timeline")}
active={path == "/" && $client.user}
disabled={!$client.user}>
on:click={handle_btn("timeline")}
active={path == "/"}>
<svelte:fragment slot="icon">
<TimelineIcon/>
</svelte:fragment>
Timeline
</Button>
<Button label="Notifications"
on:click={() => handle_btn("notifications")}
on:click={handle_btn("notifications")}
active={path == "/notifications"}
disabled>
<svelte:fragment slot="icon">