Fix Clean CryptDrive button in settings
parent
126a379ed2
commit
ad3ee14d2b
|
@ -77,7 +77,7 @@ define([
|
|||
// Settings only
|
||||
common.resetDrive = function (cb) {
|
||||
postMessage("RESET_DRIVE", null, function (obj) {
|
||||
if (obj.error) { return void cb(obj.error); }
|
||||
if (obj && obj.error) { return void cb(obj.error); }
|
||||
cb();
|
||||
});
|
||||
};
|
||||
|
|
|
@ -635,7 +635,7 @@ define([
|
|||
nThen(function (waitFor) {
|
||||
removeOwnedPads(waitFor);
|
||||
}).nThen(function () {
|
||||
store.proxy.drive = store.fo.getStructure();
|
||||
store.proxy.drive = store.userObject.getStructure();
|
||||
sendDriveEvent('DRIVE_CHANGE', {
|
||||
path: ['drive', 'filesData']
|
||||
}, clientId);
|
||||
|
|
Loading…
Reference in New Issue