From ab36d567b81f582b875ccdebe807b8b81a2de759 Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Tue, 25 Mar 2025 12:47:58 +0100 Subject: [PATCH] refactor(Url Widget): fixes add link button inside the widget --- public/js/components/Dashboard/Item.js | 17 ++--------------- .../js/components/DashboardWidget/Abstract.js | 3 --- public/js/components/DashboardWidget/Url.js | 12 +++--------- 3 files changed, 5 insertions(+), 27 deletions(-) diff --git a/public/js/components/Dashboard/Item.js b/public/js/components/Dashboard/Item.js index 1ff6a4516..59f33b711 100644 --- a/public/js/components/Dashboard/Item.js +++ b/public/js/components/Dashboard/Item.js @@ -45,15 +45,6 @@ export default { ready() { return this.component && this.arguments !== null; }, - widget_action_identifier(){ - return `${this.widget.widget_kurzbz}-${this.index}-action-section`; - }, - widgetInformation(){ - return { - action_section_identifier: this.widget_action_identifier, - widget_kurzbz: this.widget.widget_kurzbz, - } - } }, methods: { getWidgetC4Link(widget) { @@ -138,10 +129,6 @@ export default { - - -
- @@ -153,7 +140,7 @@ export default {
- +
@@ -161,7 +148,7 @@ export default { {{ widget ? 'Config for ' + widget.setup.name : '' }}