Don't show announcement popups if the tutorial isn't completed

This commit is contained in:
naskya 2023-07-08 21:47:06 +00:00
parent 8870a88d58
commit 1d29a0063b

View File

@ -274,6 +274,7 @@ function checkForSplash() {
if (
$i &&
defaultStore.state.tutorial === -1 &&
!["/announcements", "/announcements/"].includes(window.location.pathname)
) {
api("announcements", { withUnreads: true, limit: 10 })