Skip to content

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

Add order # to indicate there is a sequence

Tianzhou Chen34b2d56789cb
diff --git a/frontend/src/views/EnvironmentDashboard.vue b/frontend/src/views/EnvironmentDashboard.vue
index 4ce776152b..4cda0955b7 100644
--- a/frontend/src/views/EnvironmentDashboard.vue
+++ b/frontend/src/views/EnvironmentDashboard.vue
@@ -135,11 +135,13 @@ export default {
if (environmentList.value) {
if (state.reorder) {
return state.reorderedEnvironmentList.map(
- (item: Environment) => item.attributes.name
+ (item: Environment, index: number) =>
+ (index + 1).toString() + ". " + item.attributes.name
);
}
return environmentList.value.map(
- (item: Environment) => item.attributes.name
+ (item: Environment, index: number) =>
+ (index + 1).toString() + ". " + item.attributes.name
);
}
return [];