Skip to content

Commit 144a9a4

Browse files
authored
Merge pull request #827 from AppQuality/order-observation-on-post
Order observation by start time on post new observation
2 parents b918c30 + e61c603 commit 144a9a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/features/api/apiTags.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ unguessApi.enhanceEndpoints({
108108
{ vid },
109109
(draft) => {
110110
draft.push(updatedPost);
111+
draft.sort((a, b) => a.start - b.start);
111112
}
112113
)
113114
);

0 commit comments

Comments
 (0)