diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx
index 4f51f924..fa290e25 100644
--- a/src/pages/Home/Home.tsx
+++ b/src/pages/Home/Home.tsx
@@ -16,6 +16,7 @@ const initialFilterData: IFilterFormProps = {
supplyIds: [],
shelterStatus: [],
cities: [],
+ showDisabled: false,
};
const Home = () => {
diff --git a/src/pages/Home/components/Filter/Filter.tsx b/src/pages/Home/components/Filter/Filter.tsx
index b63884bb..f0a9509c 100644
--- a/src/pages/Home/components/Filter/Filter.tsx
+++ b/src/pages/Home/components/Filter/Filter.tsx
@@ -85,6 +85,7 @@ const Filter = (props: IFilterProps) => {
value: id,
label: mappedSupplies[id]?.name,
})),
+ showDisabled: data.showDisabled,
},
enableReinitialize: true,
validateOnChange: false,
@@ -101,6 +102,7 @@ const Filter = (props: IFilterProps) => {
supplies,
supplyCategories,
cities,
+ showDisabled,
} = values;
onSubmit({
priority: priority?.value ? +priority.value : null,
@@ -109,6 +111,7 @@ const Filter = (props: IFilterProps) => {
supplyCategoryIds: supplyCategories.map((s) => s.value),
supplyIds: supplies.map((s) => s.value),
cities,
+ showDisabled,
});
},
}
@@ -287,6 +290,25 @@ const Filter = (props: IFilterProps) => {
+
+ Exibição dos abrigos +
+