Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Only remove item from unread list if mark read succeeds.
天舟bfa67b739fa2
diff --git a/frontend/src/views/Inbox.vue b/frontend/src/views/Inbox.vueindex 6da338aac1..f8fc580dee 100644--- a/frontend/src/views/Inbox.vue+++ b/frontend/src/views/Inbox.vue@@ -117,7 +117,9 @@ export default {const markAllAsRead = () => {var count = state.unreadList.length;- state.unreadList.forEach((item: Inbox) => {+ const inboxList = state.unreadList.map((item) => item);++ inboxList.forEach((item: Inbox) => {store.dispatch("inbox/patchInbox", {inboxId: item.id,@@ -126,6 +128,12 @@ export default {},}).then(() => {+ const i = state.unreadList.findIndex(+ (unreadItem) => unreadItem.id == item.id+ );+ if (i >= 0) {+ state.unreadList.splice(i, 1);+ }count--;if (count == 0) {store.dispatch(@@ -136,7 +144,6 @@ export default {state.readList.push(item);});});- state.unreadList = [];};const viewOlder = () => {