Skip to content

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

If issue is created and assigned by the same person, we put issue under person’s assign section.

天舟bd7b0e64168c
diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue
index e0a1240a81..59b15e3407 100644
--- a/frontend/src/views/Home.vue
+++ b/frontend/src/views/Home.vue
@@ -95,17 +95,17 @@ export default {
store
.dispatch("issue/fetchIssueListForUser", currentUser.value.id)
.then((issueList: Issue[]) => {
- state.createdList = [];
state.assignedList = [];
+ state.createdList = [];
state.subscribeList = [];
state.closeList = [];
for (const issue of issueList) {
// "OPEN"
if (issue.status === "OPEN") {
- if (issue.creator.id === currentUser.value.id) {
- state.createdList.push(issue);
- } else if (issue.assignee?.id === currentUser.value.id) {
+ if (issue.assignee?.id === currentUser.value.id) {
state.assignedList.push(issue);
+ } else if (issue.creator.id === currentUser.value.id) {
+ state.createdList.push(issue);
} else if (
issue.subscriberList.find(
(item) => item.id == currentUser.value.id