summaryrefslogtreecommitdiffstats
path: root/src/components/Properties/PropertyActions.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Properties/PropertyActions.vue')
-rw-r--r--src/components/Properties/PropertyActions.vue11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/components/Properties/PropertyActions.vue b/src/components/Properties/PropertyActions.vue
index c604de86..2d1388a3 100644
--- a/src/components/Properties/PropertyActions.vue
+++ b/src/components/Properties/PropertyActions.vue
@@ -28,9 +28,10 @@
</template>
{{ t('contacts', 'Delete') }}
</ActionButton>
- <Actions :is="action"
- v-for="(action, index) in actions"
- :key="index" />
+ <component v-for="action in actions"
+ :is="action"
+ :key="action.name"
+ :component="propertyComponent" />
</Actions>
</template>
@@ -53,6 +54,10 @@ export default {
type: Array,
default: () => [],
},
+ propertyComponent: {
+ type: Object,
+ required: true,
+ },
},
methods: {