diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-05-03 16:35:38 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-05-06 15:36:28 +0200 |
commit | 5d8133bb18e656e9fb8aae179c51e98953b7d883 (patch) | |
tree | d44d2a58acbb9f15534fb7bd1a0786aa2647980c /apps | |
parent | 890c5b8594fdebb221071bffbd17276cd3e6a4eb (diff) | |
download | nextcloud-server-5d8133bb18e656e9fb8aae179c51e98953b7d883.tar.gz nextcloud-server-5d8133bb18e656e9fb8aae179c51e98953b7d883.zip |
fix: Do not import styles that are already included in server bundle
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/src/actions/moveOrCopyAction.ts | 1 | ||||
-rw-r--r-- | apps/files/src/actions/moveOrCopyActionUtils.ts | 2 | ||||
-rw-r--r-- | apps/files/src/plugins/search/folderSearch.ts | 5 |
3 files changed, 2 insertions, 6 deletions
diff --git a/apps/files/src/actions/moveOrCopyAction.ts b/apps/files/src/actions/moveOrCopyAction.ts index 61be2d946ac..047aeed7c00 100644 --- a/apps/files/src/actions/moveOrCopyAction.ts +++ b/apps/files/src/actions/moveOrCopyAction.ts @@ -19,7 +19,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -import '@nextcloud/dialogs/style.css' import type { Folder, Node, View } from '@nextcloud/files' import type { IFilePickerButton } from '@nextcloud/dialogs' import type { FileStat, ResponseDataDetailed } from 'webdav' diff --git a/apps/files/src/actions/moveOrCopyActionUtils.ts b/apps/files/src/actions/moveOrCopyActionUtils.ts index 01614b14d8a..6de0e7eb408 100644 --- a/apps/files/src/actions/moveOrCopyActionUtils.ts +++ b/apps/files/src/actions/moveOrCopyActionUtils.ts @@ -20,8 +20,6 @@ * */ -import '@nextcloud/dialogs/style.css' - import type { Folder, Node } from '@nextcloud/files' import { Permission } from '@nextcloud/files' import PQueue from 'p-queue' diff --git a/apps/files/src/plugins/search/folderSearch.ts b/apps/files/src/plugins/search/folderSearch.ts index d5f164abb8f..17e8ecd61ea 100644 --- a/apps/files/src/plugins/search/folderSearch.ts +++ b/apps/files/src/plugins/search/folderSearch.ts @@ -25,7 +25,6 @@ import { getFilePickerBuilder } from '@nextcloud/dialogs'; import { imagePath } from '@nextcloud/router' import { translate as t } from '@nextcloud/l10n' import logger from '../../logger' -import '@nextcloud/dialogs/style.css' /** * Initialize the unified search plugin. @@ -33,7 +32,7 @@ import '@nextcloud/dialogs/style.css' function init() { const OCA = window.OCA if (!OCA.UnifiedSearch) { - return; + return } logger.info('Initializing unified search plugin: folder search from files app'); @@ -65,4 +64,4 @@ function init() { }) } -document.addEventListener('DOMContentLoaded', init); +document.addEventListener('DOMContentLoaded', init) |