aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/src
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-11-10 16:51:48 +0100
committerLouis Chemineau <louis@chmn.me>2022-11-28 17:31:27 +0100
commitea946cc649b73474ab2a4dbb23e2793e906f8fca (patch)
tree8d96a21d0c40e74040c36f17a9c9026b4139c889 /apps/files_versions/src
parent173c053d41c9494e56d3301ff2a8c7ce13b79387 (diff)
downloadnextcloud-server-ea946cc649b73474ab2a4dbb23e2793e906f8fca.tar.gz
nextcloud-server-ea946cc649b73474ab2a4dbb23e2793e906f8fca.zip
Lint and remove file_versions tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files_versions/src')
-rw-r--r--apps/files_versions/src/files_versions_tab.js3
-rw-r--r--apps/files_versions/src/utils/versions.js2
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