File tree Expand file tree Collapse file tree 2 files changed +27
-27
lines changed Expand file tree Collapse file tree 2 files changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -156,13 +156,19 @@ export default function () {
156
156
</ div >
157
157
</ div >
158
158
</ div >
159
- { BillingMode . canSetWorkspaceClass ( teamBillingMode ) && (
160
- < SelectWorkspaceClass
161
- workspaceClass = { project . settings ?. workspaceClasses ?. regular }
162
- enabled = { BillingMode . canSetWorkspaceClass ( teamBillingMode ) }
163
- setWorkspaceClass = { setWorkspaceClass }
164
- />
165
- ) }
159
+ < div >
160
+ < h3 className = "mt-12" > Workspaces</ h3 >
161
+ < p className = "text-base text-gray-500 dark:text-gray-400" >
162
+ Choose the workspace machine type for your workspaces.
163
+ </ p >
164
+ { BillingMode . canSetWorkspaceClass ( teamBillingMode ) && (
165
+ < SelectWorkspaceClass
166
+ workspaceClass = { project . settings ?. workspaceClasses ?. regular }
167
+ enabled = { BillingMode . canSetWorkspaceClass ( teamBillingMode ) }
168
+ setWorkspaceClass = { setWorkspaceClass }
169
+ />
170
+ ) }
171
+ </ div >
166
172
</ ProjectSettingsPage >
167
173
) ;
168
174
}
Original file line number Diff line number Diff line change @@ -48,26 +48,20 @@ export default function SelectWorkspaceClass(props: SelectWorkspaceClassProps) {
48
48
return < div > </ div > ;
49
49
} else {
50
50
return (
51
- < div >
52
- < h3 className = "mt-12" > Workspaces</ h3 >
53
- < p className = "text-base text-gray-500 dark:text-gray-400" >
54
- Choose the workspace machine type for your workspaces.
55
- </ p >
56
- < div className = "mt-4 space-x-3 flex" >
57
- { supportedClasses . map ( ( c ) => {
58
- return (
59
- < WorkspaceClass
60
- additionalStyles = "w-80 h-32"
61
- selected = { workspaceClass === c . id }
62
- onClick = { ( ) => actuallySetWorkspaceClass ( c . id ) }
63
- category = { c . category }
64
- friendlyName = { c . displayName }
65
- description = { c . description }
66
- powerUps = { c . powerups }
67
- />
68
- ) ;
69
- } ) }
70
- </ div >
51
+ < div className = "mt-4 space-x-3 flex" >
52
+ { supportedClasses . map ( ( c ) => {
53
+ return (
54
+ < WorkspaceClass
55
+ additionalStyles = "w-80 h-32"
56
+ selected = { workspaceClass === c . id }
57
+ onClick = { ( ) => actuallySetWorkspaceClass ( c . id ) }
58
+ category = { c . category }
59
+ friendlyName = { c . displayName }
60
+ description = { c . description }
61
+ powerUps = { c . powerups }
62
+ />
63
+ ) ;
64
+ } ) }
71
65
</ div >
72
66
) ;
73
67
}
You can’t perform that action at this time.
0 commit comments