Skip to content

Commit d5b3999

Browse files
Update news and tweak again
1 parent 6db10cf commit d5b3999

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/lib/news/news.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"id": 0,
66
"content": "New: This banner and PR/issues details are now available!",
77
"endDate": "2024-08-01"
8+
},
9+
{
10+
"id": 1,
11+
"content": "You can now authenticate with your own GitHub token! Check the settings in the top-right corner of the page.",
12+
"endDate": "2024-08-25"
813
}
914
]
1015
}

src/routes/+layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
disabled={ghTokenField.length > 0 && !isTokenValid}
234234
on:click={() => {
235235
settingsOpen = false;
236-
settings.set({ githubToken: ghTokenField });
236+
settings.set(ghTokenField ? { githubToken: ghTokenField } : {});
237237
invalidateAll();
238238
}}
239239
>

0 commit comments

Comments
 (0)