Skip to content

Commit

Permalink
Enabled dbsize by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dlvoy committed Feb 2, 2020
1 parent 1d6ada1 commit 6fb3008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function init () {
}

//TODO: getting sent in status.json, shouldn't be
settings.DEFAULT_FEATURES = ['bgnow', 'delta', 'direction', 'timeago', 'devicestatus', 'upbat', 'errorcodes', 'profile'];
settings.DEFAULT_FEATURES = ['bgnow', 'delta', 'direction', 'timeago', 'devicestatus', 'upbat', 'errorcodes', 'profile', 'dbsize'];

var wasSet = [];

Expand Down Expand Up @@ -260,7 +260,7 @@ function init () {
function adjustShownPlugins () {
var showPluginsUnset = settings.showPlugins && 0 === settings.showPlugins.length;

settings.showPlugins += ' delta direction upbat';
settings.showPlugins += ' delta direction upbat dbsize';
if (settings.showRawbg === 'always' || settings.showRawbg === 'noise') {
settings.showPlugins += ' rawbg';
}
Expand Down

0 comments on commit 6fb3008

Please sign in to comment.