From babb36f048273faa6a401ef54d46ede630df5577 Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Thu, 18 May 2023 23:00:58 -0400 Subject: [PATCH] Got the dropdown icon working (finally) --- .../src/components/dropdown/Dropdown.vue | 17 +++++++++++++++-- 17th Website/src/views/users.vue | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/17th Website/src/components/dropdown/Dropdown.vue b/17th Website/src/components/dropdown/Dropdown.vue index 1750c76..48f0125 100644 --- a/17th Website/src/components/dropdown/Dropdown.vue +++ b/17th Website/src/components/dropdown/Dropdown.vue @@ -19,19 +19,25 @@ export default { methods: { toggle() { this.sharedState.active = !this.sharedState.active + }, + away() { + this.sharedState.active = false } }, components: { Icon + }, + props: { + title: String } }