mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
[WEB-1216] chore: increase module empty state for consistency. (#4658)
This commit is contained in:
parent
9ff3c22089
commit
1cb26fa863
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user