Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: fetch full history (#11199)

ecmadao7028d2145b0e
diff --git a/frontend/src/views/ChangeHistoryDetail.vue b/frontend/src/views/ChangeHistoryDetail.vue
index e94b0f3fe9..9304762069 100644
--- a/frontend/src/views/ChangeHistoryDetail.vue
+++ b/frontend/src/views/ChangeHistoryDetail.vue
@@ -452,7 +452,7 @@ watch(
}),
changeHistoryStore.getOrFetchChangeHistoryByName(
changeHistoryName.value,
- ChangeHistoryView.CHANGE_HISTORY_VIEW_BASIC
+ ChangeHistoryView.CHANGE_HISTORY_VIEW_FULL
),
]);
},
@@ -551,17 +551,20 @@ const fetchFullPreviousHistory = async () => {
ChangeHistoryView.CHANGE_HISTORY_VIEW_FULL
);
};
+
const fetchFullHistory = async () => {
if (state.loading) {
return;
}
state.loading = true;
try {
- await changeHistoryStore.getOrFetchChangeHistoryByName(
- changeHistoryName.value,
- ChangeHistoryView.CHANGE_HISTORY_VIEW_FULL
- );
- await fetchFullPreviousHistory();
+ await Promise.all([
+ changeHistoryStore.getOrFetchChangeHistoryByName(
+ changeHistoryName.value,
+ ChangeHistoryView.CHANGE_HISTORY_VIEW_FULL
+ ),
+ fetchFullPreviousHistory(),
+ ]);
} finally {
state.loading = false;
}