fix: Do not import styles that are already included in server bundle

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/45178/head
Ferdinand Thiessen 2 weeks ago
parent 890c5b8594
commit 5d8133bb18

@ -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'

@ -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'

@ -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)

Loading…
Cancel
Save