Skip to content

Commit

Permalink
Fix Actions for other properties
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Sep 3, 2019
1 parent 2f95ae6 commit b18c2bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/Properties/PropertySelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
{{ propModel.readableName }}
</div>

<!-- props actions -->
<PropertyActions :actions="actions" @delete="deleteProperty" />

<multiselect v-model="matchedOptions" :options="propModel.options" :placeholder="t('contacts', 'Select option')"
:disabled="isSingleOption || isReadOnly" class="property__value" track-by="id"
label="name" @input="updateValue" />

<!-- props actions -->
<PropertyActions :actions="actions" :property-component="this" @delete="deleteProperty" />
</div>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Properties/PropertyText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
target="_blank" />

<!-- props actions -->
<PropertyActions :actions="actions" @delete="deleteProperty" />
<PropertyActions :actions="actions" :property-component="this" @delete="deleteProperty" />
</div>
</div>
</template>
Expand Down

0 comments on commit b18c2bb

Please sign in to comment.