From e4ff6641240e105d02d0af3d438f58979e28c99b Mon Sep 17 00:00:00 2001 From: Remko Date: Mon, 2 Dec 2024 10:57:50 +0100 Subject: [PATCH] hotfix --- img/progress-close-light.svg | 2 +- src/views/widgets/ContactMomentenWidget.vue | 18 +++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/img/progress-close-light.svg b/img/progress-close-light.svg index e249746..a11aa21 100644 --- a/img/progress-close-light.svg +++ b/img/progress-close-light.svg @@ -1,5 +1,5 @@ + style="fill-rule:nonzero" fill="#ffffff" /> \ No newline at end of file diff --git a/src/views/widgets/ContactMomentenWidget.vue b/src/views/widgets/ContactMomentenWidget.vue index 3b0acaa..ede0c1f 100644 --- a/src/views/widgets/ContactMomentenWidget.vue +++ b/src/views/widgets/ContactMomentenWidget.vue @@ -130,13 +130,7 @@ export default { getSluitenIcon() { const theme = getTheme() - let appLocation = '/custom_apps' - - if (window.location.hostname === 'nextcloud.local') { - appLocation = '/apps-extra' - } - - return theme === 'light' ? `${appLocation}/zaakafhandelapp/img/progress-close-dark.svg` : `${appLocation}/zaakafhandelapp/img/progress-close-light.svg` + return theme === 'light' ? 'icon-progress-close-dark' : 'icon-progress-close-light' }, openModal() { this.isModalOpen = true @@ -176,6 +170,16 @@ export default { } +