aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-03-29 15:35:47 +0300
committerHenry Jameson <me@hjkos.com>2022-03-29 15:35:47 +0300
commit3e0bb91ff2133d4c26e0bd267a82ab5b64b2fa49 (patch)
treeca025aed4b2cef42820bb8dbaf1c7e166d5d90bf /src/components/status/status.js
parentdc8bef7928cb6a5e06a793a78652234276ca6fce (diff)
parent5bbc0e0bb5f4a0c95674e6879975e6b5121b421e (diff)
Merge branch 'vue3-again' into vue3-no-compat
* vue3-again: lint + fixes for registration fix production build's reply not working in tree mode lock down version? manual lint Revert "fix weird thing i somehow missed" Revert "lint" fix weird thing i somehow missed lint
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index ee0da4dc..c6b24c72 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -69,7 +69,7 @@ const controlledOrUncontrolledGetters = list => list.reduce((res, name) => {
const controlledName = `controlled${camelized}`
const uncontrolledName = `uncontrolled${camelized}`
res[name] = function () {
- return (Object.getOwnPropertyDescriptor(this, toggle) && this[toggle]) ? this[controlledName] : this[uncontrolledName]
+ return (this.$props[toggle] && this[toggle]) ? this[controlledName] : this[uncontrolledName]
}
return res
}, {})