@@ -55,8 +64,8 @@ export const FilterSelection = () => {
)}
- onOpen={() => setActive(true)}
- onClose={() => setActive(false)}
+ onOpen={onOpen}
+ onClose={onClose}
>
@@ -67,18 +76,17 @@ export const FilterSelection = () => {
defaultMessage: 'Serach for property...',
})}
/>
-
+
setSelectedFilter(null)}
- onCancel={() => setSelectedFilter(null)}
+ {...(selectedItem || {} as any)}
+ onSubmit={addFilter}
+ onCancel={onCancel}
/>
-
+
);
};
\ No newline at end of file
diff --git a/frontend/src/v5/ui/components/viewer/cards/cardFilters/filtersSelection/tickets/ticketFiltersSelection.styles.ts b/frontend/src/v5/ui/components/viewer/cards/cardFilters/filtersSelection/tickets/ticketFiltersSelection.styles.ts
index 7bd15f2ec8..db2c4755a7 100644
--- a/frontend/src/v5/ui/components/viewer/cards/cardFilters/filtersSelection/tickets/ticketFiltersSelection.styles.ts
+++ b/frontend/src/v5/ui/components/viewer/cards/cardFilters/filtersSelection/tickets/ticketFiltersSelection.styles.ts
@@ -15,7 +15,6 @@
* along with this program. If not, see