From 8c295688f5bab6aa4ba6442cb4c4c108f4c8eb2d Mon Sep 17 00:00:00 2001 From: zdmc23 <191707+zdmc23@users.noreply.github.com> Date: Sun, 2 May 2021 22:51:51 -0400 Subject: [PATCH] change status dot color to black for archive/closed (by request from mexsurfer) --- shared/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shared/index.js b/shared/index.js index 0bf1681b..d5204394 100644 --- a/shared/index.js +++ b/shared/index.js @@ -177,8 +177,9 @@ const formatDateToDatePicker = (timestamp = null) => { }; const getSelectorColor = (status) => { + console.log(`status: ${status}`); let newColor; - if (status === 'new' || status === 'unassigned' || status === 'closed' || status === 'inactive') { + if (status === 'new' || status === 'unassigned' || status === 'inactive') { newColor = '#d9534f'; } else if (status === 'unassignable' || status === 'assigned' || status === 'paused') { newColor = '#f0ad4e'; @@ -186,6 +187,8 @@ const getSelectorColor = (status) => { newColor = '#5cb85c'; } else if (status === 'from_facebook') { newColor = '#366184'; + } else if (status === 'closed') { + newColor = '#000'; } return newColor; };