mirror of
https://github.com/coder/coder.git
synced 2026-10-16 14:48:56 +08:00
fix(site/src/pages/AgentsPage/components/ProjectPage): keep New disabled while project skills load
This commit is contained in:
@@ -207,7 +207,7 @@ export const ProjectSkillsDialog: React.FC<ProjectSkillsDialogProps> = ({
|
||||
size="sm"
|
||||
variant="outline"
|
||||
autoFocus={lastEditor?.type === "create"}
|
||||
disabled={isAtLimit}
|
||||
disabled={isAtLimit || skillsQuery.isLoading}
|
||||
onClick={() => openEditor({ type: "create" })}
|
||||
>
|
||||
<PlusIcon />
|
||||
|
||||
Reference in New Issue
Block a user