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:
Philipp MatthaeusandJarek Kowalski authored and GitHub committed 2022-06-24 06:34:56 -07:00
1 parent 68b8afd43f
commit fdbe2f836b
1 file changed
+2 -1
+2 -1
View File
@@ -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
}