Merge pull request #10926 from Budibase/fix_linting

Fix linting issues
This commit is contained in:
Adria Navarro 2023-06-16 10:18:22 +01:00 committed by GitHub
commit 98456fe418
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ export const createValidationStore = () => {
const observe = async (propertyName, value) => {
const values = get(validation).values
let fieldIsValid
if (!values.hasOwnProperty(propertyName)) {
if (!Object.prototype.hasOwnProperty.call(values, propertyName)) {
// Initial setup
values[propertyName] = value
return