Skip to content

Commit 8000ceb

Browse files
theocrsbWadjetz
authored andcommitted
front: invalidate rtk cache on exception creation
Signed-off-by: theocrsb <theo_crosbie@yahoo.fr>
1 parent cdcda49 commit 8000ceb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

front/src/common/api/osrdEditoastApi.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,9 @@ const osrdEditoastApi = generatedEditoastApi
262262
postTrainScheduleSetsByIdTrainSchedules: {
263263
invalidatesTags: ['train_schedule_set', 'scenarios', 'timetable'],
264264
},
265+
postTimetableByIdTrainScheduleException: {
266+
invalidatesTags: ['train_schedule_exceptions', 'paced_train'],
267+
},
265268

266269
// Project handling
267270
getProjects: {

0 commit comments

Comments
 (0)