diff --git a/package-lock.json b/package-lock.json index 36ff598c5..dbe2859eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3485,6 +3485,21 @@ } } }, + "@nextcloud/files": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-1.0.0.tgz", + "integrity": "sha512-HJF+eavX8BymQ83jGkluNyQ8zrbFfuiQwunSe140sbQ042pjyljSUACf/WyvVAeqaCj7cIeYMPQBtvykom0+cg==", + "requires": { + "core-js": "3.5.0" + }, + "dependencies": { + "core-js": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.5.0.tgz", + "integrity": "sha512-Ifh3kj78gzQ7NAoJXeTu+XwzDld0QRIwjBLRqAMhuLhP3d2Av5wmgE9ycfnvK6NAEjTkQ1sDPeoEZAWO3Hx1Uw==" + } + } + }, "@nextcloud/l10n": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-1.1.0.tgz", diff --git a/package.json b/package.json index 2888b99a7..6ff7e4314 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "@nextcloud/axios": "^1.3.1", "@nextcloud/l10n": "^1.1.0", "@nextcloud/dialogs": "^1.2.1", + "@nextcloud/files": "^1.0.0", "@nextcloud/moment": "^1.1.0", "@nextcloud/router": "^1.0.0", "@nextcloud/vue": "^1.4.0", diff --git a/src/components/card/CardSidebarTabAttachments.vue b/src/components/card/CardSidebarTabAttachments.vue index 3ebc600f2..2b13dbfd2 100644 --- a/src/components/card/CardSidebarTabAttachments.vue +++ b/src/components/card/CardSidebarTabAttachments.vue @@ -29,41 +29,36 @@ type="file" style="display: none;" @change="onLocalAttachmentSelected"> - -
-
- -
-
-
-