clone: save app config

clone also clones the tags, labels and icon. this is not done for
restore or import since it's not clear if this is a good idea or not.
for example, if user had some custom tags and label set and then restores
to some old backup, is it expected to reset the labels and tags?
This commit is contained in:
Girish Ramakrishnan
2021-05-25 21:31:48 -07:00
parent 2fb6be81fc
commit 431e2a6ab9
4 changed files with 71 additions and 44 deletions

View File

@@ -33,7 +33,7 @@ exports = module.exports = {
_clear: clear
};
var assert = require('assert'),
const assert = require('assert'),
async = require('async'),
BoxError = require('./boxerror.js'),
database = require('./database.js'),