Adds itemSize property
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
:description="item.description"
|
||||
:icon="item.icon"
|
||||
:target="item.target"
|
||||
:itemSize="itemSize"
|
||||
:itemSize="newItemSize"
|
||||
@itemClicked="$emit('itemClicked')"
|
||||
@triggerModal="triggerModal"
|
||||
/>
|
||||
@@ -54,6 +54,11 @@ export default {
|
||||
Item,
|
||||
IframeModal,
|
||||
},
|
||||
computed: {
|
||||
newItemSize: function size() {
|
||||
return this.displayData.itemSize || this.itemSize;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
/* Returns a unique lowercase string, based on name, for section ID */
|
||||
makeId(str) {
|
||||
|
||||
Reference in New Issue
Block a user