fix: module empty state create issue (#3916)

This commit is contained in:
Anmol Singh Bhatia 2024-03-11 21:01:27 +05:30 committed by GitHub
parent 89d019df57
commit c8ab650008
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,8 +77,8 @@ export const ModuleEmptyState: React.FC<Props> = observer((props) => {
isEmptyFilters
? undefined
: () => {
setTrackElement("Cycle issue empty state");
toggleCreateIssueModal(true, EIssuesStoreType.CYCLE);
setTrackElement("Module issue empty state");
toggleCreateIssueModal(true, EIssuesStoreType.MODULE);
}
}
secondaryButtonOnClick={isEmptyFilters ? handleClearAllFilters : () => setModuleIssuesListModal(true)}