[WEB-1216] chore: increase module empty state for consistency. (#4658)

This commit is contained in:
Prateek Shourya 2024-05-31 12:42:36 +05:30 committed by GitHub
parent 9ff3c22089
commit 1cb26fa863
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,7 +55,6 @@ export const ModuleEmptyState: React.FC<Props> = observer((props) => {
const emptyStateType = isEmptyFilters ? EmptyStateType.PROJECT_EMPTY_FILTER : EmptyStateType.PROJECT_MODULE_ISSUES; const emptyStateType = isEmptyFilters ? EmptyStateType.PROJECT_EMPTY_FILTER : EmptyStateType.PROJECT_MODULE_ISSUES;
const additionalPath = activeLayout ?? "list"; const additionalPath = activeLayout ?? "list";
const emptyStateSize = isEmptyFilters ? "lg" : "sm";
return ( return (
<> <>
@ -71,7 +70,6 @@ export const ModuleEmptyState: React.FC<Props> = observer((props) => {
<EmptyState <EmptyState
type={emptyStateType} type={emptyStateType}
additionalPath={additionalPath} additionalPath={additionalPath}
size={emptyStateSize}
primaryButtonOnClick={ primaryButtonOnClick={
isEmptyFilters isEmptyFilters
? undefined ? undefined