mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
style: different style for archive & project issues (#1552)
* fix: same empty state coming for all issue list related UI * style: different style for archive & project issues
This commit is contained in:
parent
fc92d7d1a0
commit
07c097c9ad
@ -35,7 +35,8 @@ import { EmptyState, PrimaryButton, Spinner, Icon } from "components/ui";
|
|||||||
// icons
|
// icons
|
||||||
import { PlusIcon, TrashIcon } from "@heroicons/react/24/outline";
|
import { PlusIcon, TrashIcon } from "@heroicons/react/24/outline";
|
||||||
// images
|
// images
|
||||||
import emptyIssue from "public/empty-state/issue-archive.svg";
|
import emptyIssue from "public/empty-state/issue.svg";
|
||||||
|
import emptyIssueArchive from "public/empty-state/issue-archive.svg";
|
||||||
// helpers
|
// helpers
|
||||||
import { getStatesList } from "helpers/state.helper";
|
import { getStatesList } from "helpers/state.helper";
|
||||||
import { orderArrayBy } from "helpers/array.helper";
|
import { orderArrayBy } from "helpers/array.helper";
|
||||||
@ -581,7 +582,7 @@ export const IssuesView: React.FC<Props> = ({
|
|||||||
<EmptyState
|
<EmptyState
|
||||||
title="Archived Issues will be shown here"
|
title="Archived Issues will be shown here"
|
||||||
description="All the issues that have been in the completed or canceled groups for the configured period of time can be viewed here."
|
description="All the issues that have been in the completed or canceled groups for the configured period of time can be viewed here."
|
||||||
image={emptyIssue}
|
image={emptyIssueArchive}
|
||||||
buttonText="Go to Automation Settings"
|
buttonText="Go to Automation Settings"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
router.push(`/${workspaceSlug}/projects/${projectId}/settings/automations`);
|
router.push(`/${workspaceSlug}/projects/${projectId}/settings/automations`);
|
||||||
|
Loading…
Reference in New Issue
Block a user