version 0.3.0 #1

Merged
ari merged 22 commits from dev into main 2024-07-02 19:39:03 +00:00
Showing only changes of commit 5424772abb - Show all commits

View file

@ -32,6 +32,7 @@
let route; let route;
switch (name) { switch (name) {
case "timeline": case "timeline":
if (!get(client).user) break;
route = "/"; route = "/";
getTimeline(true); getTimeline(true);
break; break;
@ -68,7 +69,8 @@
<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 == "/"}> active={path == "/" && $client.user}
disabled={!$client.user}>
<svelte:fragment slot="icon"> <svelte:fragment slot="icon">
<TimelineIcon/> <TimelineIcon/>
</svelte:fragment> </svelte:fragment>