diff --git a/web/src/lib/store/metalakes/index.js b/web/src/lib/store/metalakes/index.js index 37a99f697ec..8e053bc531d 100644 --- a/web/src/lib/store/metalakes/index.js +++ b/web/src/lib/store/metalakes/index.js @@ -38,6 +38,8 @@ export const fetchMetalakes = createAsyncThunk('appMetalakes/fetchMetalakes', as const { metalakes } = res + metalakes.sort((a, b) => new Date(b.audit.createTime) - new Date(a.audit.createTime)) + return { metalakes } })