Skip to content

Commit

Permalink
[WEB-1216] chore: update module empty state size for consistency. (#4565
Browse files Browse the repository at this point in the history
)
  • Loading branch information
prateekshourya29 authored May 23, 2024
1 parent ddc28d3 commit 6a3c4eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/components/issues/issue-layouts/empty-states/module.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const ModuleEmptyState: React.FC<Props> = observer((props) => {

const emptyStateType = isEmptyFilters ? EmptyStateType.PROJECT_EMPTY_FILTER : EmptyStateType.PROJECT_MODULE_ISSUES;
const additionalPath = activeLayout ?? "list";
const emptyStateSize = isEmptyFilters ? "lg" : "sm";

return (
<>
Expand All @@ -70,6 +71,7 @@ export const ModuleEmptyState: React.FC<Props> = observer((props) => {
<EmptyState
type={emptyStateType}
additionalPath={additionalPath}
size={emptyStateSize}
primaryButtonOnClick={
isEmptyFilters
? undefined
Expand Down

0 comments on commit 6a3c4eb

Please sign in to comment.