diff --git a/console-ui/src/pages/AmbientGroupPicker.tsx b/console-ui/src/pages/AmbientGroupPicker.tsx
index 6c5b871..0555776 100644
--- a/console-ui/src/pages/AmbientGroupPicker.tsx
+++ b/console-ui/src/pages/AmbientGroupPicker.tsx
@@ -98,6 +98,7 @@ export function AmbientGroupPickerView({ groups, onChange, read }: { groups: str
const outside = new Set(read.catalog ? groupsOutsideCatalog(groups, read.catalog) : groups)
const listUsable = view.kind === 'ready' || view.kind === 'no-match'
const groupListLabel = i18n.t("群列表")
+ const groupListError = (failure: { text: string; detail: string }) => failure.detail ? i18n.t("{0}读取失败:{1}", [groupListLabel, failure.detail]) : failure.text
const addManual = () => {
const result = addManualGroups(groups, manualText)
@@ -140,7 +141,8 @@ export function AmbientGroupPickerView({ groups, onChange, read }: { groups: str
/>
{view.kind === 'loading' ?
{describeReadFailure(view.error, groupListLabel, i18n.locale).text} {i18n.t("可以在下面手动填写群号。")}
: null} - {view.kind === 'error' ?{view.noOnlineAccount ? i18n.t("没有在线的账号,读不到群列表。可以在下面手动填写群号。") : i18n.t("在线账号里没有读到群。可以在下面手动填写群号。")}
: null} {view.kind === 'no-match' ?{i18n.t("没有群名、群号或账号包含「{0}」的群。", [query.trim()])}
: null} {view.kind === 'ready' ?{i18n.t("刷新失败,下面是上次读到的数据。")} {failure.text}
} + {failure &&{i18n.t("当前账号不能查看或修改群聊插话设置,只有管理员账号可以修改。")}
- :