feat(preferences): theme and home dashbord settings now work work on profile and org settings page
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
package dtos
|
||||
|
||||
type UserPrefs struct {
|
||||
Theme string `json:"theme"`
|
||||
ThemeDefault string `json:"themeDefault"`
|
||||
HomeDashboardId int64 `json:"homeDashboardId"`
|
||||
HomeDashboardIdDefault int64 `json:"homeDashboardIdDefault"`
|
||||
Timezone string `json:"timezone"`
|
||||
TimezoneDefault string `json:"timezoneDefault"`
|
||||
type Prefs struct {
|
||||
Theme string `json:"theme"`
|
||||
HomeDashboardId int64 `json:"homeDashboardId"`
|
||||
Timezone string `json:"timezone"`
|
||||
}
|
||||
|
||||
type UpdateUserPrefsCmd struct {
|
||||
type UpdatePrefsCmd struct {
|
||||
Theme string `json:"theme"`
|
||||
HomeDashboardId int64 `json:"homeDashboardId"`
|
||||
Timezone string `json:"timezone"`
|
||||
|
||||
Reference in New Issue
Block a user