WIP(shops): dates and fixes

This commit is contained in:
Sabe Jones
2024-04-22 17:52:07 -05:00
parent 28b936e2d1
commit 5cd58d4119
5 changed files with 8 additions and 10 deletions

View File

@@ -132,7 +132,7 @@ export default {
},
methods: {
getKeyProp (item) {
return this.keyProp ? item[this.keyProp] : item;
return this.keyProp ? item[this.keyProp] : item.key;
},
isDisabled (item) {
return typeof item[this.disabledProp] === 'undefined' ? false : item[this.disabledProp];