[SSE] Fix version restore

This commit is contained in:
Julia Radzhabova 2021-07-28 00:06:52 +03:00
parent d767fa5399
commit 511c31886c

View file

@ -2701,7 +2701,8 @@ define([
selected: (opts.data.currentVersion == version.version),
canRestore: this.appOptions.canHistoryRestore && (ver < versions.length-1),
isExpanded: true,
serverVersion: version.serverVersion
serverVersion: version.serverVersion,
fileType: 'xslx'
}));
if (opts.data.currentVersion == version.version) {
currentVersion = arrVersions[arrVersions.length-1];
@ -2751,7 +2752,8 @@ define([
canRestore: this.appOptions.canHistoryRestore && this.appOptions.canDownload,
isRevision: false,
isVisible: true,
serverVersion: version.serverVersion
serverVersion: version.serverVersion,
fileType: 'xslx'
}));
arrColors.push(user.get('colorval'));
}