aboutsummaryrefslogtreecommitdiffstats
path: root/api-worker/netbox.py
diff options
context:
space:
mode:
authorHåkon Solbjørg <hakon@solbj.org>2023-04-02 19:38:04 +0200
committerHåkon Solbjørg <hakon@solbj.org>2023-04-02 19:38:29 +0200
commitea103d1b32f3fa898ab3f164e3e8bfe37fdb71a9 (patch)
treeb4fe4397e1312c49a4c921a46989118f9668ec4d /api-worker/netbox.py
parentf41402f56282320473843df8726d5e04878427ca (diff)
fix(nightmode): Respect user provided configuration for night mode if providedfix/night-mode-respect-user-configuration
If user sets the cookie or URL query parameter for nightMode, we will respect that. Note that it is a bit cumbersome to _clear_ this configuration (afaik?) if it is set. This is also the case if the user toggles nightmode directly in Gondul (`n`). However, this last configuration is not persisted - so on a page reload, this setting is removed (no need to clear cookies/query params), and the system preference is again followed.
Diffstat (limited to 'api-worker/netbox.py')
0 files changed, 0 insertions, 0 deletions