feat: update A2UIButton and translations for navigation; enhance session detail fetching and task handling

This commit is contained in:
catlog22
2026-02-17 10:39:13 +08:00
parent b23e822a35
commit 8665ea73a4
7 changed files with 21 additions and 10 deletions

View File

@@ -113,7 +113,7 @@ export function hasEnabledPlatform(config: RemoteNotificationConfig): boolean {
const { discord, telegram, webhook } = config.platforms;
return (
return Boolean(
(discord?.enabled && !!discord.webhookUrl) ||
(telegram?.enabled && !!telegram.botToken && !!telegram.chatId) ||
(webhook?.enabled && !!webhook.url)