mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:50:42 +00:00
fix: honor selected account in setup status
This commit is contained in:
@@ -90,8 +90,10 @@ export const lineSetupWizard: ChannelSetupWizard = {
|
||||
configuredScore: 1,
|
||||
unconfiguredScore: 0,
|
||||
includeStatusLine: true,
|
||||
resolveConfigured: ({ cfg }) =>
|
||||
listLineAccountIds(cfg).some((accountId) => isLineConfigured(cfg, accountId)),
|
||||
resolveConfigured: ({ cfg, accountId }) =>
|
||||
accountId
|
||||
? isLineConfigured(cfg, accountId)
|
||||
: listLineAccountIds(cfg).some((resolvedAccountId) => isLineConfigured(cfg, resolvedAccountId)),
|
||||
resolveExtraStatusLines: ({ cfg }) => [`Accounts: ${listLineAccountIds(cfg).length || 0}`],
|
||||
}),
|
||||
introNote: {
|
||||
|
||||
Reference in New Issue
Block a user