From e91e147714841ff9ca27c9e853fb0e6124c9a16c Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Sat, 11 Jan 2025 16:11:23 +0100 Subject: [PATCH] luci-app-nlbwmon: the default of database_compress is 1, match that behaviour in UI. Signed-off-by: Jan Pazdziora --- .../htdocs/luci-static/resources/view/nlbw/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js index 033c495a31..a0b01cd3e6 100644 --- a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js +++ b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js @@ -150,6 +150,7 @@ return view.extend({ o = s.taboption('advanced', form.Flag, 'database_compress', _('Compress database'), _('Whether to gzip compress archive databases. Compressing the database files makes accessing old data slightly slower but helps to reduce storage requirements.')); + o.default = o.enabled; o = s.taboption('advanced', form.Value, 'database_generations', _('Stored periods'), _('Maximum number of accounting periods to keep, use zero to keep databases forever.')); -- 2.30.2