Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Improve notification UI.
天舟5bb185de392b
diff --git a/frontend/src/App.vue b/frontend/src/App.vueindex f99f0c9e9b..012016345f 100644--- a/frontend/src/App.vue+++ b/frontend/src/App.vue@@ -70,26 +70,28 @@ export default {.then((notification: Notification | undefined) => {if (notification) {if (- state.notificationList.length < MAX_NOTIFICATION_DISPLAY_COUNT+ state.notificationList.length >= MAX_NOTIFICATION_DISPLAY_COUNT) {- const item: BBNotificationItem = {- style: notification.style,- title: notification.title,- description: notification.description || "",- link: notification.link || "",- linkTitle: notification.linkTitle || "",- };- state.notificationList.push(item);- if (!notification.manualHide) {- setTimeout(- () => {- removeNotification(item);- },- notification.style == "CRITICAL"- ? CRITICAL_NOTIFICAITON_DURATION- : NOTIFICAITON_DURATION- );- }+ state.notificationList.pop();+ }++ const item: BBNotificationItem = {+ style: notification.style,+ title: notification.title,+ description: notification.description || "",+ link: notification.link || "",+ linkTitle: notification.linkTitle || "",+ };+ state.notificationList.unshift(item);+ if (!notification.manualHide) {+ setTimeout(+ () => {+ removeNotification(item);+ },+ notification.style == "CRITICAL"+ ? CRITICAL_NOTIFICAITON_DURATION+ : NOTIFICAITON_DURATION+ );}}});