diff --git a/dashboard/src/skills-display/components/progress/SkillsProgressList.vue b/dashboard/src/skills-display/components/progress/SkillsProgressList.vue index e0f9e0355..cfaa070ae 100644 --- a/dashboard/src/skills-display/components/progress/SkillsProgressList.vue +++ b/dashboard/src/skills-display/components/progress/SkillsProgressList.vue @@ -229,6 +229,24 @@ const collapseAllGroups = (() => { const resetGroupExpansion = (() => { expandGroups.value = null }) + +const items = [ + { + label: 'Collapse All', + icon: 'fas fa-minus', + command: collapseAllGroups + }, + { + label: 'Expand All', + icon: 'fas fa-plus', + command: expandAllGroups + }, +] + +const menu = ref() +const toggle = (event) => { + menu.value.toggle(event) +}