fix: Array length check (#1300)
This commit is contained in:
parent
70f08103aa
commit
db4997c07f
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ export default {
|
|||
computed: {
|
||||
isActive() {
|
||||
const { key } = this.channel;
|
||||
if (Object.keys(this.enabledFeatures) === 0) {
|
||||
if (Object.keys(this.enabledFeatures).length === 0) {
|
||||
return false;
|
||||
}
|
||||
if (key === 'facebook') {
|
||||
|
|
Loading…
Reference in a new issue