diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-01-30 12:51:55 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-01-30 12:51:55 +0100 |
commit | 41e8ec164713dc6b51754575e6da92995dd55df9 (patch) | |
tree | 080e849b8870f3bfdc0ef448b0ee25553e654c68 /src/mixins/PropertyMixin.js | |
parent | a1561dfe3a728f3b636852df05d36c1947883dd7 (diff) |
Fix string detection, put delete in last and fix properties scoping
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/mixins/PropertyMixin.js')
-rw-r--r-- | src/mixins/PropertyMixin.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mixins/PropertyMixin.js b/src/mixins/PropertyMixin.js index cdb166f2..b1070bcc 100644 --- a/src/mixins/PropertyMixin.js +++ b/src/mixins/PropertyMixin.js @@ -28,7 +28,7 @@ export default { type: [Object], default: () => {} }, - // Coming fro the rfcProps Model + // Coming from the rfcProps Model propModel: { type: Object, default: () => {}, @@ -83,7 +83,7 @@ export default { icon: 'icon-delete', action: this.deleteProperty } - return [del, ...this.propModel.actions ? this.propModel.actions : []] + return [...this.propModel.actions ? this.propModel.actions : [], del] } }, |