mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-28 09:23:08 +08:00
feat: update A2UIButton and translations for navigation; enhance session detail fetching and task handling
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user