fix(ui): fix colors for badges
This commit is contained in:
parent
37fdd48f2f
commit
a1bc1bbb78
2 changed files with 3 additions and 3 deletions
|
|
@ -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 />
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue