[SSE] Fix version restore
This commit is contained in:
parent
d767fa5399
commit
511c31886c
|
@ -2701,7 +2701,8 @@ define([
|
||||||
selected: (opts.data.currentVersion == version.version),
|
selected: (opts.data.currentVersion == version.version),
|
||||||
canRestore: this.appOptions.canHistoryRestore && (ver < versions.length-1),
|
canRestore: this.appOptions.canHistoryRestore && (ver < versions.length-1),
|
||||||
isExpanded: true,
|
isExpanded: true,
|
||||||
serverVersion: version.serverVersion
|
serverVersion: version.serverVersion,
|
||||||
|
fileType: 'xslx'
|
||||||
}));
|
}));
|
||||||
if (opts.data.currentVersion == version.version) {
|
if (opts.data.currentVersion == version.version) {
|
||||||
currentVersion = arrVersions[arrVersions.length-1];
|
currentVersion = arrVersions[arrVersions.length-1];
|
||||||
|
@ -2751,7 +2752,8 @@ define([
|
||||||
canRestore: this.appOptions.canHistoryRestore && this.appOptions.canDownload,
|
canRestore: this.appOptions.canHistoryRestore && this.appOptions.canDownload,
|
||||||
isRevision: false,
|
isRevision: false,
|
||||||
isVisible: true,
|
isVisible: true,
|
||||||
serverVersion: version.serverVersion
|
serverVersion: version.serverVersion,
|
||||||
|
fileType: 'xslx'
|
||||||
}));
|
}));
|
||||||
arrColors.push(user.get('colorval'));
|
arrColors.push(user.get('colorval'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue