mirror of
https://github.com/kopia/kopia.git
synced 2026-10-26 08:08:53 -04:00
feat(ui): Save page size (#2080)
* Added PageSize to UIPreferences type * Update serverapi.go * fixed gofmt check * fixed gofmt check for real Co-authored-by: Jarek Kowalski <jaak@jkowalski.net>
This commit is contained in:
1 parent
68b8afd43f
commit
fdbe2f836b
1 file changed
+2
-1
@@ -274,5 +274,6 @@ type CLIInfo struct {
|
||||
|
||||
// UIPreferences represents JSON object storing UI preferences.
|
||||
type UIPreferences struct {
|
||||
Theme string `json:"theme"` // 'dark', 'light' or ''
|
||||
Theme string `json:"theme"` // 'dark', 'light' or ''
|
||||
PageSize int `json:"pageSize"` // A page size; the actual possible values will only be provided by the frontend
|
||||
}
|
||||
Reference in new issue
Block a user