Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Change closeList to closedList
天舟478c0a507950
diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vueindex 9279930873..fc74819525 100644--- a/frontend/src/views/Home.vue+++ b/frontend/src/views/Home.vue@@ -31,7 +31,7 @@},{title: 'Recently Closed',- list: filteredList(state.closeList).sort((a, b) => {+ list: filteredList(state.closedList).sort((a, b) => {return b.updatedTs - a.updatedTs;}),},@@ -59,7 +59,7 @@ interface LocalState {createdList: Issue[];assignedList: Issue[];subscribeList: Issue[];- closeList: Issue[];+ closedList: Issue[];searchText: string;selectedEnvironment?: Environment;}@@ -81,7 +81,7 @@ export default {createdList: [],assignedList: [],subscribeList: [],- closeList: [],+ closedList: [],searchText: "",selectedEnvironment: router.currentRoute.value.query.environment? store.getters["environment/environmentById"](@@ -129,14 +129,14 @@ export default {limit: MAX_CLOSED_ISSUE_COUNT,}).then((issueList: Issue[]) => {- state.closeList = [];+ state.closedList = [];for (const issue of issueList) {if (issue.creator.id === currentUser.value.id ||issue.assignee?.id === currentUser.value.id ||issue.subscriberIdList.includes(currentUser.value.id)) {- state.closeList.push(issue);+ state.closedList.push(issue);}}});diff --git a/frontend/src/views/IssueDashboard.vue b/frontend/src/views/IssueDashboard.vueindex 7a8b31429e..216546f358 100644--- a/frontend/src/views/IssueDashboard.vue+++ b/frontend/src/views/IssueDashboard.vue@@ -20,7 +20,7 @@:issueSectionList="[{title: 'Closed',- list: filteredList(state.closeList).sort((a, b) => {+ list: filteredList(state.closedList).sort((a, b) => {return b.updatedTs - a.updatedTs;}),},@@ -40,7 +40,7 @@ import { computed, onMounted, watchEffect } from "@vue/runtime-core";import { activeEnvironment } from "../utils";interface LocalState {- closeList: Issue[];+ closedList: Issue[];searchText: string;selectedEnvironment?: Environment;}@@ -55,7 +55,7 @@ export default {const router = useRouter();const state = reactive<LocalState>({- closeList: [],+ closedList: [],searchText: "",selectedEnvironment: router.currentRoute.value.query.environment? store.getters["environment/environmentById"](@@ -80,7 +80,7 @@ export default {issueStatusList: ["DONE", "CANCELED"],}).then((issueList: Issue[]) => {- state.closeList = [];+ state.closedList = [];for (const issue of issueList) {// "DONE" or "CANCELED"if (issue.status === "DONE" || issue.status === "CANCELED") {@@ -89,7 +89,7 @@ export default {issue.assignee?.id === currentUser.value.id ||issue.subscriberIdList.includes(currentUser.value.id)) {- state.closeList.push(issue);+ state.closedList.push(issue);}}}