chore: auto-fix lint & formatting [skip ci]

This commit is contained in:
github-actions[bot] 2026-08-26 16:39:02 +00:00
parent c75567cf15
commit 1375db9a20
15 changed files with 160 additions and 88 deletions

View file

@ -34,7 +34,13 @@
: 'bg-accent'
"
></span>
{{ tg.platform === "telegram" ? "Telegram" : tg.platform === "feishu" ? t("route.feishu") : "Discord" }}
{{
tg.platform === "telegram"
? "Telegram"
: tg.platform === "feishu"
? t("route.feishu")
: "Discord"
}}
</span>
<span v-if="route.fallback" class="route-badge route-badge-fallback">{{
t("route.fallback")
@ -59,12 +65,16 @@
<div v-for="(tg, i) in route.targets" :key="i" class="route-target">
<div class="route-target-row">
<span class="route-target-label">
<template v-if="tg.platform === 'telegram' || tg.platform === 'feishu'">{{ t("route.chat") }}</template>
<template v-if="tg.platform === 'telegram' || tg.platform === 'feishu'">{{
t("route.chat")
}}</template>
<template v-else-if="tg.threadId">{{ t("route.thread") }}</template>
<template v-else>{{ t("route.channel") }}</template>
</span>
<code class="route-target-id">
<template v-if="tg.platform === 'telegram' || tg.platform === 'feishu'">{{ tg.chatId }}</template>
<template v-if="tg.platform === 'telegram' || tg.platform === 'feishu'">{{
tg.chatId
}}</template>
<template v-else-if="tg.threadId">{{ tg.threadId }}</template>
<template v-else>{{ tg.channelId }}</template>
</code>