feat: fix notification provider frontend bug and twitter error (#2310)

This commit is contained in:
UsherFall
2023-09-06 23:41:34 +08:00
committed by GitHub
parent e528e8883b
commit ca6b27f922
2 changed files with 5 additions and 2 deletions

View File

@ -286,7 +286,7 @@ class ProviderEditPage extends React.Component {
if (provider.type === "Viber") {
text = i18next.t("provider:Domain");
tooltip = i18next.t("provider:Domain - Tooltip");
} else {
} else if (provider.type === "Telegram" || provider.type === "DingTalk" || provider.type === "Pushover" || provider.type === "Pushbullet" || provider.type === "Slack" || provider.type === "Discord" || provider.type === "Line" || provider.type === "Matrix" || provider.type === "Rocket Chat") {
text = i18next.t("provider:App Key");
tooltip = i18next.t("provider:App Key - Tooltip");
}