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