File tree 3 files changed +7
-7
lines changed
site/src/pages/WorkspacePage 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export interface WorkspaceProps {
68
68
buildInfo ?: TypesGen . BuildInfoResponse ;
69
69
sshPrefix ?: string ;
70
70
template ?: TypesGen . Template ;
71
- quota_budget ?: number ;
71
+ quotaBudget ?: number ;
72
72
handleBuildRetry : ( ) => void ;
73
73
buildLogs ?: React . ReactNode ;
74
74
}
@@ -101,7 +101,7 @@ export const Workspace: FC<React.PropsWithChildren<WorkspaceProps>> = ({
101
101
buildInfo,
102
102
sshPrefix,
103
103
template,
104
- quota_budget ,
104
+ quotaBudget ,
105
105
handleBuildRetry,
106
106
templateWarnings,
107
107
buildLogs,
@@ -183,7 +183,7 @@ export const Workspace: FC<React.PropsWithChildren<WorkspaceProps>> = ({
183
183
184
184
< WorkspaceStats
185
185
workspace = { workspace }
186
- quota_budget = { quota_budget }
186
+ quotaBudget = { quotaBudget }
187
187
handleUpdate = { handleUpdate }
188
188
canUpdateWorkspace = { canUpdateWorkspace }
189
189
maxDeadlineDecrease = { scheduleProps . maxDeadlineDecrease }
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ export const WorkspaceReadyPage = ({
185
185
buildInfo = { buildInfo }
186
186
sshPrefix = { sshPrefix }
187
187
template = { template }
188
- quota_budget = { quota ?. budget }
188
+ quotaBudget = { quota ?. budget }
189
189
templateWarnings = { templateVersion ?. warnings }
190
190
buildLogs = {
191
191
shouldDisplayBuildLogs && (
Original file line number Diff line number Diff line change @@ -39,15 +39,15 @@ export interface WorkspaceStatsProps {
39
39
maxDeadlineIncrease : number ;
40
40
maxDeadlineDecrease : number ;
41
41
canUpdateWorkspace : boolean ;
42
- quota_budget ?: number ;
42
+ quotaBudget ?: number ;
43
43
onDeadlinePlus : ( hours : number ) => void ;
44
44
onDeadlineMinus : ( hours : number ) => void ;
45
45
handleUpdate : ( ) => void ;
46
46
}
47
47
48
48
export const WorkspaceStats : FC < WorkspaceStatsProps > = ( {
49
49
workspace,
50
- quota_budget ,
50
+ quotaBudget ,
51
51
maxDeadlineDecrease,
52
52
maxDeadlineIncrease,
53
53
canUpdateWorkspace,
@@ -169,7 +169,7 @@ export const WorkspaceStats: FC<WorkspaceStatsProps> = ({
169
169
className = { styles . statsItem }
170
170
label = { Language . costLabel }
171
171
value = { `${ workspace . latest_build . daily_cost } ${
172
- quota_budget ? `/ ${ quota_budget } ` : ""
172
+ quotaBudget ? `/ ${ quotaBudget } ` : ""
173
173
} `}
174
174
/>
175
175
) }
You can’t perform that action at this time.
0 commit comments