diff --git a/public/js/components/Dashboard/Item.js b/public/js/components/Dashboard/Item.js index 379437b74..1ff6a4516 100644 --- a/public/js/components/Dashboard/Item.js +++ b/public/js/components/Dashboard/Item.js @@ -27,6 +27,7 @@ export default { "configClosed" ], props: [ + "index", "id", "config", "width", @@ -44,6 +45,15 @@ 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) { @@ -120,14 +130,18 @@ export default {
-
+
{{ widget.setup.name }} - + + + +
+ @@ -139,7 +153,7 @@ export default {
- +
@@ -147,7 +161,7 @@ export default { {{ widget ? 'Config for ' + widget.setup.name : '' }}