chore: update state icons and colors (#2126)

* chore: update state icons and colors

* chore: update icons
This commit is contained in:
Aaryan Khandelwal 2023-09-11 11:45:28 +05:30 committed by GitHub
parent ad8a011bb9
commit 5b228bd1eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 351 additions and 460 deletions

View file

@ -11,11 +11,11 @@ import { DateFilterModal } from "components/core";
// ui
import { MultiLevelDropdown } from "components/ui";
// icons
import { getPriorityIcon, getStateGroupIcon } from "components/icons";
import { StateGroupIcon, getPriorityIcon } from "components/icons";
// helpers
import { checkIfArraysHaveSameElements } from "helpers/array.helper";
// types
import { IIssueFilterOptions, IQuery } from "types";
import { IIssueFilterOptions, IQuery, TStateGroups } from "types";
// fetch-keys
import { WORKSPACE_LABELS } from "constants/fetch-keys";
// constants
@ -104,7 +104,7 @@ export const MyIssuesSelectFilters: React.FC<Props> = ({
id: key,
label: (
<div className="flex items-center gap-2">
{getStateGroupIcon(key as any, "16", "16")}{" "}
<StateGroupIcon stateGroup={key as TStateGroups} />
{GROUP_CHOICES[key as keyof typeof GROUP_CHOICES]}
</div>
),