Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pac
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tools
pac
Commits
87ad39fc
Commit
87ad39fc
authored
Oct 12, 2026
by
luoqi
Browse files
Options
Browse Files
Download
Plain Diff
Merge FridayAI account release status fix into test
parents
1b133cc2
4063d55f
Pipeline
#3760
failed in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
apps/ai-web/src/components/my-accounts-sheet.tsx
+4
-3
No files found.
apps/ai-web/src/components/my-accounts-sheet.tsx
View file @
87ad39fc
...
...
@@ -134,9 +134,11 @@ export function MyAccountsSheet({
<
div
className=
"flex flex-col gap-1"
>
{
me
.
accounts
.
map
((
a
)
=>
{
const
d
=
detailOf
.
get
(
a
.
vid
);
const
online
=
a
.
status
===
'online'
;
// 下线回调到达前 status 可能仍为 online;优先展示已发起的解除状态。
const
retired
=
!!
a
.
releasedAt
||
!!
a
.
releaseRequestedAt
;
const
online
=
!
retired
&&
a
.
status
===
'online'
;
/** ⚠️ banned / dismissed 扫码回不来 —— 给按钮就是骗人 */
const
fixable
=
a
.
hosting
?.
active
!==
false
&&
!
online
&&
(
d
?.
needsScan
||
!!
d
?.
verify
);
const
fixable
=
a
.
hosting
?.
active
!==
false
&&
!
retired
&&
!
online
&&
(
d
?.
needsScan
||
!!
d
?.
verify
);
/**
* ⭐⭐ **已解除的号要能接回来** —— 而且必须走**复用原设备**那条路。
*
...
...
@@ -160,7 +162,6 @@ export function MyAccountsSheet({
* ⭐ 已解除 / 解除中是**灰色**,⛔ 不是红色 —— 红色留给「掉了,要去救」。
* 解除是人自己按的,染红等于把刚做完的事说成故障(2026-09-21 截图里就是这样)。
*/
const
retired
=
!
online
&&
(
!!
a
.
releasedAt
||
!!
a
.
releaseRequestedAt
);
return
(
<
div
key=
{
a
.
vid
}
className=
"flex flex-col"
>
<
div
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment