fix(ui): fix colors for badges

This commit is contained in:
sylenien 2022-10-07 12:37:26 +02:00
parent 37fdd48f2f
commit a1bc1bbb78
2 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ function SessionHeader(props: Props) {
</div>
</div>
{activeTab === 'all' && (
{activeTab !== 'notes' && activeTab !== 'bookmark' ? (
<div className="flex items-center">
<SessionTags />
<div className="mx-4" />
@ -79,7 +79,7 @@ function SessionHeader(props: Props) {
<SessionSort />
<SessionSettingButton />
</div>
)}
) : null}
{activeTab === 'notes' && (
<div className="flex items-center">
<NoteTags />

View file

@ -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"