✨ Adds widget compatibility into workspace view
This commit is contained in:
@@ -55,6 +55,7 @@ export default {
|
||||
/* Toggles the section clicked, and closes all other sections */
|
||||
openSection(index) {
|
||||
this.isOpen = this.isOpen.map((val, ind) => (ind !== index ? false : !val));
|
||||
if (this.sections[index].widgets) this.$emit('launch-widget', this.sections[index].widgets);
|
||||
},
|
||||
/* When item clicked, emit a launch event */
|
||||
launchApp(options) {
|
||||
|
||||
Reference in New Issue
Block a user