Skip to content

Commit

Permalink
Prevent local config from decoding (=clearing) also global config
Browse files Browse the repository at this point in the history
  • Loading branch information
fingon committed Apr 28, 2024
1 parent b8999f7 commit f545961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
// This struct represents external configuration - what we can get as query/form parameters
type LogListConfig struct {
// Global configuration (cookie)
Global GlobalConfig
Global GlobalConfig `json:"-"`

// Local state (cookie)
AutoRefresh bool `json:"ar" cm:"auto-refresh"`
Expand Down

0 comments on commit f545961

Please sign in to comment.