Revize dd270a41
Přidáno uživatelem Václav Honzík před více než 2 roky(ů)
frontend/src/features/TrackingTool/trackingToolSlice.ts | ||
---|---|---|
9 | 9 |
isLoading: boolean // whether the data is being loaded |
10 | 10 |
pathDto?: PathDto // the data |
11 | 11 |
pathVariants?: PathVariant[] // undefined signals that no path variants were yet fetched from the API |
12 |
lastErr?: string // consumable for errors during thunks |
|
12 |
lastError?: string // consumable for errors during thunks
|
|
13 | 13 |
mapCenter: LatLngTuple // pair of latitude and longitude |
14 | 14 |
primaryPathIdx: number // index of the primary path |
15 | 15 |
activePaths: Set<number> // indices of the active paths |
... | ... | |
70 | 70 |
}) |
71 | 71 |
builder.addCase(sendTextForProcessing.rejected, (state, action) => ({ |
72 | 72 |
...initialState, |
73 |
lastErr: action.error.message, |
|
73 |
lastError: action.error.message,
|
|
74 | 74 |
isLoading: false, |
75 | 75 |
dialogApiCallSuccess: false, |
76 | 76 |
})) |
Také k dispozici: Unified diff
path autorefresh works as intended
re #9629