This commit is contained in:
Faris Ansari 2019-03-29 20:17:37 +05:30
parent 65484367bd
commit a0e7f28438

View file

@ -62,11 +62,11 @@ export default {
}
},
dropdown_links() {
return this.links
return this.links.length > 0 ? this.links
.filter(link => !link.hidden)
.concat([
{ label: __('Customize'), action: () => this.$emit('customize'), class: 'border-top' }
]);
]) : [];
}
},
};