Compare commits
No commits in common. "5424772abbeb1c4eb12be0ddc3ec33579b4b0384" and "e80b6e71045bdc89cdca445dbd26ed271239e51d" have entirely different histories.
5424772abb
...
e80b6e7104
|
@ -32,9 +32,7 @@
|
||||||
let route;
|
let route;
|
||||||
switch (name) {
|
switch (name) {
|
||||||
case "timeline":
|
case "timeline":
|
||||||
if (!get(client).user) break;
|
|
||||||
route = "/";
|
route = "/";
|
||||||
getTimeline(true);
|
|
||||||
break;
|
break;
|
||||||
case "notifcations":
|
case "notifcations":
|
||||||
case "explore":
|
case "explore":
|
||||||
|
@ -68,16 +66,15 @@
|
||||||
|
|
||||||
<div id="nav-items">
|
<div id="nav-items">
|
||||||
<Button label="Timeline"
|
<Button label="Timeline"
|
||||||
on:click={() => handle_btn("timeline")}
|
on:click={handle_btn("timeline")}
|
||||||
active={path == "/" && $client.user}
|
active={path == "/"}>
|
||||||
disabled={!$client.user}>
|
|
||||||
<svelte:fragment slot="icon">
|
<svelte:fragment slot="icon">
|
||||||
<TimelineIcon/>
|
<TimelineIcon/>
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
Timeline
|
Timeline
|
||||||
</Button>
|
</Button>
|
||||||
<Button label="Notifications"
|
<Button label="Notifications"
|
||||||
on:click={() => handle_btn("notifications")}
|
on:click={handle_btn("notifications")}
|
||||||
active={path == "/notifications"}
|
active={path == "/notifications"}
|
||||||
disabled>
|
disabled>
|
||||||
<svelte:fragment slot="icon">
|
<svelte:fragment slot="icon">
|
||||||
|
|
Loading…
Reference in a new issue