mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added background color to device filter box when active.
This commit is contained in:
parent
f53be0edc6
commit
70c9252f60
3 changed files with 6 additions and 1 deletions
1
db.js
1
db.js
|
@ -1555,6 +1555,7 @@ module.exports.CreateDB = function (parent, func) {
|
|||
// Check that we have access to MongoDump
|
||||
var backupPath = parent.backuppath;
|
||||
if (parent.config.settings.autobackup && parent.config.settings.autobackup.backuppath) { backupPath = parent.config.settings.autobackup.backuppath; }
|
||||
try { parent.fs.mkdirSync(backupPath); } catch (e) { }
|
||||
var mongoDumpPath = 'mongodump';
|
||||
if (parent.config.settings.autobackup && parent.config.settings.autobackup.mongodumppath) { mongoDumpPath = parent.config.settings.autobackup.mongodumppath; }
|
||||
const child_process = require('child_process');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue