diff options
Diffstat (limited to 'apps/files_versions/src')
-rw-r--r-- | apps/files_versions/src/files_versions_tab.js | 3 | ||||
-rw-r--r-- | apps/files_versions/src/utils/versions.js | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_versions/src/files_versions_tab.js b/apps/files_versions/src/files_versions_tab.js index 28113d49c74..8482247e672 100644 --- a/apps/files_versions/src/files_versions_tab.js +++ b/apps/files_versions/src/files_versions_tab.js @@ -22,6 +22,7 @@ import { translate as t, translatePlural as n } from '@nextcloud/l10n' import VersionTab from './views/VersionTab.vue' import VTooltip from 'v-tooltip' +// eslint-disable-next-line node/no-missing-import, import/no-unresolved import BackupRestore from '@mdi/svg/svg/backup-restore.svg?raw' Vue.prototype.t = t @@ -33,7 +34,7 @@ Vue.use(VTooltip) const View = Vue.extend(VersionTab) let TabInstance = null -window.addEventListener('DOMContentLoaded', function () { +window.addEventListener('DOMContentLoaded', function() { if (OCA.Files?.Sidebar === undefined) { return } diff --git a/apps/files_versions/src/utils/versions.js b/apps/files_versions/src/utils/versions.js index 477e7ef65fe..8fe258119f7 100644 --- a/apps/files_versions/src/utils/versions.js +++ b/apps/files_versions/src/utils/versions.js @@ -29,7 +29,7 @@ import { translate } from '@nextcloud/l10n' import moment from '@nextcloud/moment' /** - * @typedef {Object} Version + * @typedef {object} Version * @property {string} title - 'Current version' or '' * @property {string} fileName - File name relative to the version DAV endpoint * @property {string} mimeType - Empty for the current version, else the actual mime type of the version |