diff --git a/packages/desktop-client/src/components/ManageRules.tsx b/packages/desktop-client/src/components/ManageRules.tsx index 7baac602806..6dbcea27150 100644 --- a/packages/desktop-client/src/components/ManageRules.tsx +++ b/packages/desktop-client/src/components/ManageRules.tsx @@ -241,10 +241,6 @@ function ManageRulesContent({ setHoveredRule(id); }, []); - if (allRules.length === 0) { - return null; - } - return ( @@ -288,13 +284,17 @@ function ManageRulesContent({ // Hide the last border of the item in the table style={{ marginBottom: -1 }} > - + {filteredRules.length === 0 ? ( + + ) : ( + + )} + {text} + + ); +} + type ManageRulesProps = { isModal: boolean; payeeId: string | null;