diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Global/TableToolbar.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Global/TableToolbar.vue b/src/components/Global/TableToolbar.vue index 6a856b44..cb6fa240 100644 --- a/src/components/Global/TableToolbar.vue +++ b/src/components/Global/TableToolbar.vue @@ -44,7 +44,8 @@ export default { validator: (prop) => { return prop.every((action) => { return ( - action.hasOwnProperty('value') && action.hasOwnProperty('label') + Object.prototype.hasOwnProperty.call(action, 'value') && + Object.prototype.hasOwnProperty.call(action, 'label') ); }); }, |