Ajout d'un reset de cache après un ajout

This commit is contained in:
Sébastien André
2021-04-28 14:21:02 +02:00
parent 05ed51db66
commit 790cc33a39
3 changed files with 19 additions and 9 deletions

View File

@@ -37,6 +37,7 @@ export class GearService extends BaseService {
reserveCanopy: reserveCanopy
};
this.serviceRefData.delete(RefData.Gear);
return this.http.post(`${this.apiUrl}/Gear`, bodyNewGear, { headers: this.headers});
}
}