diff options
| author | Johann150 <johann.galle@protonmail.com> | 2022-07-04 16:39:04 +0200 |
|---|---|---|
| committer | Johann150 <johann.galle@protonmail.com> | 2022-07-04 16:39:04 +0200 |
| commit | d748ba2c51211d3a2833fd1cb6ef898bc149d486 (patch) | |
| tree | c36fae05f983c74b7156317190ccab821d074f7d /packages/client/src/components | |
| parent | fix lint no-undef (diff) | |
| download | sharkey-d748ba2c51211d3a2833fd1cb6ef898bc149d486.tar.gz sharkey-d748ba2c51211d3a2833fd1cb6ef898bc149d486.tar.bz2 sharkey-d748ba2c51211d3a2833fd1cb6ef898bc149d486.zip | |
fix lint no-prototype-builtins
Diffstat (limited to 'packages/client/src/components')
| -rw-r--r-- | packages/client/src/components/form-dialog.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/client/src/components/form-dialog.vue b/packages/client/src/components/form-dialog.vue index 5fd9ec460b..f05dde16f8 100644 --- a/packages/client/src/components/form-dialog.vue +++ b/packages/client/src/components/form-dialog.vue @@ -98,7 +98,7 @@ export default defineComponent({ created() { for (const item in this.form) { - this.values[item] = this.form[item].hasOwnProperty('default') ? this.form[item].default : null; + this.values[item] = this.form[item].default ?? null; } }, |