From dff3bcfec5ebc3932e5891d8f9d6e90d6ca42f9f Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Tue, 17 Nov 2020 15:09:47 +0100 Subject: [PATCH] Remove another hardcoded package name --- packages/file-handling/src/dbp-nextcloud-file-picker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/file-handling/src/dbp-nextcloud-file-picker.js b/packages/file-handling/src/dbp-nextcloud-file-picker.js index bae43ae2..8f28a8a6 100644 --- a/packages/file-handling/src/dbp-nextcloud-file-picker.js +++ b/packages/file-handling/src/dbp-nextcloud-file-picker.js @@ -11,6 +11,7 @@ import {humanFileSize} from '@dbp-toolkit/common/i18next'; import Tabulator from 'tabulator-tables'; import nextcloudFileURL from 'consts:nextcloudFileURL'; import MicroModal from './micromodal.es'; +import {name as pkgName} from './../package.json'; /** * NextcloudFilePicker web component @@ -1422,7 +1423,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { } render() { - const tabulatorCss = commonUtils.getAssetURL('@dbp-toolkit/file-handling', 'tabulator-tables/css/tabulator.min.css'); + const tabulatorCss = commonUtils.getAssetURL(pkgName, 'tabulator-tables/css/tabulator.min.css'); return html` <div class="wrapper"> -- GitLab