Skip to content

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

chore: no notification (#13806)

Danny Xu9bdf5dde23aa
diff --git a/frontend/src/components/GeneralSetting/SignInFrequencySetting.vue b/frontend/src/components/GeneralSetting/SignInFrequencySetting.vue
index ba2230835f..a777794d36 100644
--- a/frontend/src/components/GeneralSetting/SignInFrequencySetting.vue
+++ b/frontend/src/components/GeneralSetting/SignInFrequencySetting.vue
@@ -52,8 +52,7 @@
import { useDebounceFn } from "@vueuse/core";
import { NInputNumber, NRadioGroup, NRadio, NTooltip } from "naive-ui";
import { computed, reactive, watch } from "vue";
-import { useI18n } from "vue-i18n";
-import { featureToRef, pushNotification } from "@/store";
+import { featureToRef } from "@/store";
import { useSettingV1Store } from "@/store/modules/v1/setting";
import { defaultTokenDurationInHours } from "@/types";
import { Duration } from "@/types/proto/google/protobuf/duration";
@@ -89,7 +88,6 @@ const props = defineProps<{
allowEdit: boolean;
}>();
-const { t } = useI18n();
const settingV1Store = useSettingV1Store();
const state = reactive<LocalState>(getInitialState());
@@ -117,11 +115,6 @@ const handleFrequencySettingChange = useDebounceFn(async () => {
},
updateMask: ["value.workspace_profile_setting_value.token_duration"],
});
- pushNotification({
- module: "bytebase",
- style: "SUCCESS",
- title: t("settings.general.workspace.sign-in-frequency.config-updated"),
- });
}, 2000);
watch(
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index c327663235..c4ea9af1c6 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -696,8 +696,7 @@
"self": "Sign-in frequency",
"description": "Sign-in frequency is the period before a user must sign in again.",
"hours": "Hour(s)",
- "days": "Day(s)",
- "config-updated": "Configuration is updated. Need to restart Bytebase and re-login to take effect."
+ "days": "Day(s)"
},
"maximum-role-expiration": {
"self": "Maximum role expiration",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index f9bdb354ea..a3324632ec 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -696,8 +696,7 @@
"self": "Frecuencia de inicio de sesión",
"description": "La frecuencia de inicio de sesión es el período antes de que un usuario deba iniciar sesión nuevamente.",
"hours": "Horas",
- "days": "Días",
- "config-updated": "La configuración se ha actualizado. Necesita reiniciar Bytebase y volver a iniciar sesión para que surta efecto."
+ "days": "Días"
},
"maximum-role-expiration": {
"self": "Caducidad máxima del rol",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 3fbee407a2..cf0c9274da 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -696,8 +696,7 @@
"self": "ログイン頻度",
"description": "ログイン頻度は、ユーザーが再度ログインする必要がある間隔を指定します。",
"hours": "時間",
- "days": "日々",
- "config-updated": "構成が更新されたため、有効にするには Bytebase を再起動し、再度ログインする必要があります。"
+ "days": "日々"
},
"maximum-role-expiration": {
"self": "最大ロール有効期限",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index f84157eaa4..a5aa74692f 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -696,8 +696,7 @@
"self": "登录频率",
"description": "登录频率指定用户必须再次登录的间隔。",
"hours": "小时",
- "days": "天数",
- "config-updated": "配置已更新,需要重新启动 Bytebase 以及重新登录后生效。"
+ "days": "天数"
},
"maximum-role-expiration": {
"self": "角色最大过期时间",