Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0212933

Browse files
fix: Loading state in the workspaces page (#2967)
1 parent0f5f30b commit0212933

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎site/src/pages/WorkspacesPage/WorkspacesPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const WorkspacesPage: FC = () => {
3232

3333
<WorkspacesPageView
3434
filter={workspacesState.context.filter}
35-
isLoading={workspacesState.hasTag("loading")}
35+
isLoading={!workspaceRefs}
3636
workspaceRefs={workspaceRefs}
3737
onFilter={(query)=>{
3838
setSearchParams({filter:query})

‎site/src/xServices/workspaces/workspacesXService.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,7 @@ export const workspacesMachine = createMachine(
218218
},
219219
initial:"idle",
220220
states:{
221-
idle:{
222-
tags:["loading"],
223-
},
221+
idle:{},
224222
gettingWorkspaces:{
225223
entry:"clearGetWorkspacesError",
226224
invoke:{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp