nav tabs on admin dashboard

This commit is contained in:
2019-03-07 00:20:34 -06:00
parent f73d6ae228
commit e4f473f376
11661 changed files with 216240 additions and 1544253 deletions

View File

@@ -10,7 +10,9 @@ var WindowsBalloon = require('./notifiers/balloon');
var options = { withFallback: true };
switch (os.type()) {
var osType = utils.isWSL() ? 'WSL' : os.type();
switch (osType) {
case 'Linux':
module.exports = new NotifySend(options);
module.exports.Notification = NotifySend;
@@ -28,6 +30,10 @@ switch (os.type()) {
module.exports.Notification = WindowsToaster;
}
break;
case 'WSL':
module.exports = new WindowsToaster(options);
module.exports.Notification = WindowsToaster;
break;
default:
if (os.type().match(/BSD$/)) {
module.exports = new NotifySend(options);