summaryrefslogtreecommitdiff
path: root/src/components/Global
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Global')
-rw-r--r--src/components/Global/TableToolbar.vue3
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')
);
});
},