mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix(files_versions): "undefined restored" on restore
Signed-off-by: Alejo <xlejo@protonmail.com>
This commit is contained in:
parent
f8c75a1d4c
commit
a509b34d55
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ export default {
|
|||
|
||||
try {
|
||||
await restoreVersion(version)
|
||||
if (version.label !== '') {
|
||||
if (version.label) {
|
||||
showSuccess(t('files_versions', `${version.label} restored`))
|
||||
} else if (version.mtime === this.initialVersionMtime) {
|
||||
showSuccess(t('files_versions', 'Initial version restored'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue