mirror of
https://github.com/enso-org/enso.git
synced 2024-11-25 10:43:02 +03:00
Do not show loading spinner for created projects (#11164)
- Fix https://github.com/enso-org/cloud-v2/issues/1501 - The `Created` project state does not mean the project is opening, so the loading spinner should not appear. - Regression accidentally introduced by myself in609d5abbc0 (diff-79e1f8800be680c64a41e2c428927c1f176b728a6a24d5f8c4d02cfc2a3922f9)
# Important Notes None (cherry picked from commitf6c262c062
)
This commit is contained in:
parent
c2903de68d
commit
0479381629
@ -134,6 +134,7 @@ export default function ProjectIcon(props: ProjectIconProps) {
|
||||
case backendModule.ProjectState.new:
|
||||
case backendModule.ProjectState.closing:
|
||||
case backendModule.ProjectState.closed:
|
||||
case backendModule.ProjectState.created:
|
||||
return (
|
||||
<ariaComponents.Button
|
||||
size="custom"
|
||||
@ -146,7 +147,6 @@ export default function ProjectIcon(props: ProjectIconProps) {
|
||||
onPress={doOpenProject}
|
||||
/>
|
||||
)
|
||||
case backendModule.ProjectState.created:
|
||||
case backendModule.ProjectState.openInProgress:
|
||||
case backendModule.ProjectState.scheduled:
|
||||
case backendModule.ProjectState.provisioned:
|
||||
|
Loading…
Reference in New Issue
Block a user