From a1bc1bbb784d3a125e702debf1233a953ae31d38 Mon Sep 17 00:00:00 2001 From: sylenien Date: Fri, 7 Oct 2022 12:37:26 +0200 Subject: [PATCH] fix(ui): fix colors for badges --- .../components/SessionHeader/SessionHeader.tsx | 4 ++-- frontend/app/services/NotesService.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx b/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx index 6ed0b3b97..1a8c43b03 100644 --- a/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx +++ b/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx @@ -70,7 +70,7 @@ function SessionHeader(props: Props) { - {activeTab === 'all' && ( + {activeTab !== 'notes' && activeTab !== 'bookmark' ? (
@@ -79,7 +79,7 @@ function SessionHeader(props: Props) {
- )} + ) : null} {activeTab === 'notes' && (
diff --git a/frontend/app/services/NotesService.ts b/frontend/app/services/NotesService.ts index 5282b55c7..441a1a43e 100644 --- a/frontend/app/services/NotesService.ts +++ b/frontend/app/services/NotesService.ts @@ -5,7 +5,7 @@ export const tagProps = { 'ISSUE': '#CC0000', 'QUERY': '#3EAAAF', 'TASK': '#7986CB', - 'OTHER': 'rgba(0, 0, 0, 0.26)', + 'OTHER': 'rgba(0, 0, 0, 0.6)', } export type iTag = keyof typeof tagProps | "ALL"