Move skill bulk toggle before sync
This commit is contained in:
@@ -1267,6 +1267,16 @@ function SkillInsertDialog() {
|
||||
</DialogHeader>
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
<div className="flex items-center gap-2">
|
||||
<Button
|
||||
type="button"
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
className="h-8 px-2.5"
|
||||
disabled={!configurableSkills.length || bulkUpdatingSkills}
|
||||
onClick={() => setAllSkillsEnabled(!allSkillsEnabled)}
|
||||
>
|
||||
{allSkillsEnabled ? "全取消" : "全选"}
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
@@ -1280,16 +1290,6 @@ function SkillInsertDialog() {
|
||||
/>
|
||||
更新 Skill
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
className="h-8 px-2.5"
|
||||
disabled={!configurableSkills.length || bulkUpdatingSkills}
|
||||
onClick={() => setAllSkillsEnabled(!allSkillsEnabled)}
|
||||
>
|
||||
{allSkillsEnabled ? "全取消" : "全选"}
|
||||
</Button>
|
||||
</div>
|
||||
{status ? (
|
||||
<p className="min-w-0 flex-1 truncate text-muted-foreground text-xs">
|
||||
|
||||
Reference in New Issue
Block a user