Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
a65fd9de
Commit
a65fd9de
authored
Jan 15, 2026
by
yangjianbo
Browse files
Merge branch 'test'
parents
0a848e75
1bb4c76d
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/admin/AccountsView.vue
View file @
a65fd9de
...
@@ -357,9 +357,6 @@ const handleBulkToggleSchedulable = async (schedulable: boolean) => {
...
@@ -357,9 +357,6 @@ const handleBulkToggleSchedulable = async (schedulable: boolean) => {
}
else
{
}
else
{
selIds
.
value
=
hasIds
?
[]
:
accountIds
selIds
.
value
=
hasIds
?
[]
:
accountIds
}
}
load
().
catch
((
error
)
=>
{
console
.
error
(
'
Failed to refresh accounts:
'
,
error
)
})
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'
Failed to bulk toggle schedulable:
'
,
error
)
console
.
error
(
'
Failed to bulk toggle schedulable:
'
,
error
)
appStore
.
showError
(
t
(
'
common.error
'
))
appStore
.
showError
(
t
(
'
common.error
'
))
...
@@ -383,9 +380,6 @@ const handleToggleSchedulable = async (a: Account) => {
...
@@ -383,9 +380,6 @@ const handleToggleSchedulable = async (a: Account) => {
try
{
try
{
const
updated
=
await
adminAPI
.
accounts
.
setSchedulable
(
a
.
id
,
nextSchedulable
)
const
updated
=
await
adminAPI
.
accounts
.
setSchedulable
(
a
.
id
,
nextSchedulable
)
updateSchedulableInList
([
a
.
id
],
updated
?.
schedulable
??
nextSchedulable
)
updateSchedulableInList
([
a
.
id
],
updated
?.
schedulable
??
nextSchedulable
)
load
().
catch
((
error
)
=>
{
console
.
error
(
'
Failed to refresh accounts:
'
,
error
)
})
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'
Failed to toggle schedulable:
'
,
error
)
console
.
error
(
'
Failed to toggle schedulable:
'
,
error
)
appStore
.
showError
(
t
(
'
admin.accounts.failedToToggleSchedulable
'
))
appStore
.
showError
(
t
(
'
admin.accounts.failedToToggleSchedulable
'
))
...
...
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