mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 16:00:38 +00:00
Remove banner if user has skipped all tutorials
This commit is contained in:
@@ -64,6 +64,12 @@ export async function skipAllTodos() {
|
||||
}
|
||||
tutorialsToDo.set([])
|
||||
skippedAll.set(true)
|
||||
|
||||
// Dismiss the tutorial banner when all tutorials are skipped
|
||||
if (typeof window !== 'undefined') {
|
||||
localStorage.setItem('tutorial_banner_dismissed', 'true')
|
||||
}
|
||||
|
||||
await UserService.updateTutorialProgress({ requestBody: { progress: bits, skipped_all: true } })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user