Skip to content

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

Move the applicableIssueStatusTransitionList.reverse to the place where it’s generated instead of the template

天舟c28a32598e5e
diff --git a/frontend/src/components/IssueStatusTransitionButtonGroup.vue b/frontend/src/components/IssueStatusTransitionButtonGroup.vue
index e073aeb30b..e5b03f10ef 100644
--- a/frontend/src/components/IssueStatusTransitionButtonGroup.vue
+++ b/frontend/src/components/IssueStatusTransitionButtonGroup.vue
@@ -78,9 +78,7 @@
class="flex space-x-2"
>
<template
- v-for="(
- transition, index
- ) in applicableIssueStatusTransitionList.reverse()"
+ v-for="(transition, index) in applicableIssueStatusTransitionList"
:key="index"
>
<button
@@ -320,7 +318,8 @@ export default {
.map(
(type: IssueStatusTransitionType) =>
ISSUE_STATUS_TRANSITION_LIST.get(type)!
- );
+ )
+ .reverse();
}
);