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:
Dakshesh Jain 2023-07-18 18:58:36 +05:30 committed by GitHub
parent fc92d7d1a0
commit 07c097c9ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,8 @@ import { EmptyState, PrimaryButton, Spinner, Icon } from "components/ui";
// icons
import { PlusIcon, TrashIcon } from "@heroicons/react/24/outline";
// 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
import { getStatesList } from "helpers/state.helper";
import { orderArrayBy } from "helpers/array.helper";
@ -581,7 +582,7 @@ export const IssuesView: React.FC<Props> = ({
<EmptyState
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."
image={emptyIssue}
image={emptyIssueArchive}
buttonText="Go to Automation Settings"
onClick={() => {
router.push(`/${workspaceSlug}/projects/${projectId}/settings/automations`);