From c071f66cdd0dab854e63435b39520d0f3926af13 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Mon, 24 Apr 2023 13:52:14 -0700 Subject: [PATCH] fix: Update the icon for low priority (#6978) --- .../widgets/conversation/PriorityMark.vue | 106 +++++------------- .../components/FluentIcon/DashboardIcon.vue | 12 +- .../shared/components/FluentIcon/Icon.vue | 6 +- .../shared/components/FluentIcon/Index.vue | 12 +- .../FluentIcon/dashboard-icons.json | 20 +++- 5 files changed, 74 insertions(+), 82 deletions(-) diff --git a/app/javascript/dashboard/components/widgets/conversation/PriorityMark.vue b/app/javascript/dashboard/components/widgets/conversation/PriorityMark.vue index 0fdc786ca..9f8237397 100644 --- a/app/javascript/dashboard/components/widgets/conversation/PriorityMark.vue +++ b/app/javascript/dashboard/components/widgets/conversation/PriorityMark.vue @@ -1,78 +1,19 @@ @@ -84,9 +25,9 @@ export default { props: { priority: { type: String, - default: undefined, + default: '', validate: value => - [...Object.values(CONVERSATION_PRIORITY), undefined].includes(value), + [...Object.values(CONVERSATION_PRIORITY), ''].includes(value), }, }, data() { @@ -104,9 +45,18 @@ export default { }; - diff --git a/app/javascript/shared/components/FluentIcon/DashboardIcon.vue b/app/javascript/shared/components/FluentIcon/DashboardIcon.vue index b695aaaa7..a1135cfb8 100644 --- a/app/javascript/shared/components/FluentIcon/DashboardIcon.vue +++ b/app/javascript/shared/components/FluentIcon/DashboardIcon.vue @@ -1,5 +1,11 @@