aboutsummaryrefslogtreecommitdiff
path: root/src/components/status_content
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-03-29 19:23:30 +0300
committerHenry Jameson <me@hjkos.com>2022-03-29 19:23:30 +0300
commite1483488c7982daa9272c570f0a5a9296519ef31 (patch)
treed83437cac92aa5ee9cb377ad130b5e57b65dbd2c /src/components/status_content
parenta1822f073d50f101d55ecfe47b664b44f741cb38 (diff)
fix some issues with trees
Diffstat (limited to 'src/components/status_content')
-rw-r--r--src/components/status_content/status_content.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/status_content/status_content.js b/src/components/status_content/status_content.js
index f47d036a..68e75d9e 100644
--- a/src/components/status_content/status_content.js
+++ b/src/components/status_content/status_content.js
@@ -31,7 +31,7 @@ const controlledOrUncontrolledGetters = list => list.reduce((res, name) => {
const controlledName = `controlled${camelized}`
const uncontrolledName = `uncontrolled${camelized}`
res[name] = function () {
- return (this.$props[toggle] && this[toggle]) ? this[controlledName] : this[uncontrolledName]
+ return (this.$props[toggle] !== undefined && this[toggle]) ? this[controlledName] : this[uncontrolledName]
}
return res
}, {})