resync
This commit is contained in:
@@ -75,9 +75,11 @@ export default function GestionnaireRessource() {
|
|||||||
lvl={1}
|
lvl={1}
|
||||||
shadow={true}
|
shadow={true}
|
||||||
style={{ padding: 10, borderRadius: 8, marginBottom: 10 }}
|
style={{ padding: 10, borderRadius: 8, marginBottom: 10 }}
|
||||||
onPress={() => {
|
onPress={async () => {
|
||||||
setFilterType(t);
|
setFilterType(t);
|
||||||
setShowFilterMenu(false);
|
setShowFilterMenu(false);
|
||||||
|
const updatedChantiers = await getRessources();
|
||||||
|
setRessources(updatedChantiers)
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ThemedText style={{ textAlign: "center" }}>{t}</ThemedText>
|
<ThemedText style={{ textAlign: "center" }}>{t}</ThemedText>
|
||||||
|
|||||||
Reference in New Issue
Block a user