Skip to content

Commit

Permalink
is: Update console_preferences.tutorials.seen only
Browse files Browse the repository at this point in the history
  • Loading branch information
mjamescompton committed Jan 10, 2025
1 parent 5058220 commit 213cd70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/identityserver/bunstore/user_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,9 +607,12 @@ func (s *userStore) updateUserModel( //nolint:gocyclo
case "console_preferences.sort_by":
updateConsolePreferences = true
consolePreferences.SortBy = pb.ConsolePreferences.GetSortBy()
case "console_preferences.tutorials.seen":
case "console_preferences.tutorials":
updateConsolePreferences = true
consolePreferences.Tutorials = pb.ConsolePreferences.GetTutorials()
case "console_preferences.tutorials.seen":
updateConsolePreferences = true
consolePreferences.Tutorials.Seen = pb.ConsolePreferences.Tutorials.GetSeen()
case "universal_rights":
model.UniversalRights = convertIntSlice[ttnpb.Right, int](pb.UniversalRights)
columns = append(columns, "universal_rights")
Expand Down

0 comments on commit 213cd70

Please sign in to comment.