Skip to content

Commit 1e533eb

Browse files
authored
[dashboard] create ws keep button enabled (#17208)
don't disable the button during context resolution
1 parent af63f88 commit 1e533eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dashboard/src/workspaces/CreateWorkspacePage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ export function CreateWorkspacePage() {
255255
onClick={onClickCreate}
256256
autoFocus={true}
257257
size="block"
258-
loading={isStarting || isLoading}
258+
loading={isStarting}
259259
disabled={
260260
!contextURL ||
261261
contextURL.length === 0 ||
@@ -264,7 +264,7 @@ export function CreateWorkspacePage() {
264264
!!workspaceContext.error
265265
}
266266
>
267-
{isLoading ? "Loading ..." : isStarting ? "Creating Workspace ..." : "New Workspace"}
267+
{isStarting ? "Creating Workspace ..." : "New Workspace"}
268268
</Button>
269269
</div>
270270
{existingWorkspaces.length > 0 && (

0 commit comments

Comments
 (0)