diff options
author | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2024-11-19 19:30:17 +0000 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2024-11-20 09:08:34 +0000 |
commit | 3aab8bd8c47795379a3668947e2b30331747b87b (patch) | |
tree | d3a57b74b2558b38f7b88632749f3cd0cf54e0e2 /apps | |
parent | 39e34fd9d9be29275bbc41630bc3fb816edebd41 (diff) | |
download | nextcloud-server-3aab8bd8c47795379a3668947e2b30331747b87b.tar.gz nextcloud-server-3aab8bd8c47795379a3668947e2b30331747b87b.zip |
chore(assets): Recompile assets + lint fix
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/src/actions/downloadAction.ts | 2 | ||||
-rw-r--r-- | apps/files/src/store/files.ts | 2 | ||||
-rw-r--r-- | apps/files/src/views/FilesList.vue | 2 | ||||
-rw-r--r-- | apps/files_external/src/actions/enterCredentialsAction.ts | 6 | ||||
-rw-r--r-- | apps/files_sharing/src/models/Share.ts | 2 | ||||
-rw-r--r-- | apps/files_sharing/src/utils/GeneratePassword.ts | 1 | ||||
-rw-r--r-- | apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue | 10 |
7 files changed, 16 insertions, 9 deletions
diff --git a/apps/files/src/actions/downloadAction.ts b/apps/files/src/actions/downloadAction.ts index f1860c7cd3f..739351bce49 100644 --- a/apps/files/src/actions/downloadAction.ts +++ b/apps/files/src/actions/downloadAction.ts @@ -112,7 +112,7 @@ export const action = new FileAction({ return nodes.every(isDownloadable) }, - async exec(node: Node, view: View, dir: string) { + async exec(node: Node) { if (node.type === FileType.Folder) { downloadNodes([node]) return null diff --git a/apps/files/src/store/files.ts b/apps/files/src/store/files.ts index 5a701f52b3c..fecf9e32db4 100644 --- a/apps/files/src/store/files.ts +++ b/apps/files/src/store/files.ts @@ -70,7 +70,7 @@ export const useFilesStore = function(...args) { * * @param service The service (files view) * @param path The path relative within the service - * @returns Array of cached nodes within the path + * @return Array of cached nodes within the path */ getNodesByPath(service: string, path?: string): Node[] { const pathsStore = usePathsStore() diff --git a/apps/files/src/views/FilesList.vue b/apps/files/src/views/FilesList.vue index 1fc6c190733..5e6313fd601 100644 --- a/apps/files/src/views/FilesList.vue +++ b/apps/files/src/views/FilesList.vue @@ -422,7 +422,7 @@ export default defineComponent({ showCustomEmptyView() { return !this.loading && this.isEmptyDir && this.currentView?.emptyView !== undefined - } + }, }, watch: { diff --git a/apps/files_external/src/actions/enterCredentialsAction.ts b/apps/files_external/src/actions/enterCredentialsAction.ts index 29d660315b4..59ad24bfba9 100644 --- a/apps/files_external/src/actions/enterCredentialsAction.ts +++ b/apps/files_external/src/actions/enterCredentialsAction.ts @@ -23,6 +23,12 @@ type CredentialResponse = { password?: string, } +/** + * + * @param node + * @param login + * @param password + */ async function setCredentials(node: Node, login: string, password: string): Promise<null|true> { const configResponse = await axios.put(generateUrl('apps/files_external/userglobalstorages/{id}', node.attributes), { backendOptions: { user: login, password }, diff --git a/apps/files_sharing/src/models/Share.ts b/apps/files_sharing/src/models/Share.ts index dab409853d0..bfc6357240d 100644 --- a/apps/files_sharing/src/models/Share.ts +++ b/apps/files_sharing/src/models/Share.ts @@ -314,7 +314,7 @@ export default class Share { /** * Get the shared item id - */ + */ get fileSource(): number { return this._share.file_source } diff --git a/apps/files_sharing/src/utils/GeneratePassword.ts b/apps/files_sharing/src/utils/GeneratePassword.ts index bbfa5e7b27d..038163aeee7 100644 --- a/apps/files_sharing/src/utils/GeneratePassword.ts +++ b/apps/files_sharing/src/utils/GeneratePassword.ts @@ -16,6 +16,7 @@ const passwordSet = 'abcdefgijkmnopqrstwxyzABCDEFGHJKLMNPQRSTWXYZ23456789' * Generate a valid policy password or * request a valid password if password_policy * is enabled + * @param verbose */ export default async function(verbose = false): Promise<string> { // password policy is enabled, let's request a pass diff --git a/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue b/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue index f70696f4100..0292aa0835e 100644 --- a/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue +++ b/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue @@ -343,16 +343,16 @@ export default { .sort((a, b) => a.name.localeCompare(b.name)) }, }, - mounted() { - if (this.app.groups.length > 0) { - this.groupCheckedAppsData = true - } - }, watch: { 'app.id'() { this.removeData = false }, }, + mounted() { + if (this.app.groups.length > 0) { + this.groupCheckedAppsData = true + } + }, methods: { toggleRemoveData() { this.removeData = !this.removeData |