commit | efd7c88404fc58d0dc8cd495ba2e33b9e9034e0b | [log] [tgz] |
---|---|---|
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | Fri Oct 30 09:32:06 2020 -0700 |
committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | Tue Nov 03 11:28:59 2020 -0800 |
tree | e205a290de55033a33c6a67ef9267d478e16a697 | |
parent | 602e98aa32f82fd3b0c3d250c7cc1f8da971db24 [diff] [blame] |
Fix eslint no-prototype-builtins errors Made updates to TableToolbar, ModalAddRoleGroup, and ModalUploadCertificate components. https://eslint.org/docs/rules/no-prototype-builtins Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic143cd244b288bc089a9416699d7c3d4349a500c
diff --git a/src/components/Global/TableToolbar.vue b/src/components/Global/TableToolbar.vue index 6a856b4..cb6fa24 100644 --- a/src/components/Global/TableToolbar.vue +++ b/src/components/Global/TableToolbar.vue
@@ -44,7 +44,8 @@ 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') ); }); },