File tree 2 files changed +3
-3
lines changed
modules/workspaces/WorkspaceBuildLogs
pages/TemplateVersionEditorPage 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ const styles = {
112
112
borderRadius : "0 0 8px 8px" ,
113
113
} ,
114
114
115
- "&:first-child " : {
115
+ "&:first-of-type " : {
116
116
borderRadius : "8px 8px 0 0" ,
117
117
} ,
118
118
} ) ,
Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ export const TemplateVersionEditorPage: FC = () => {
138
138
template_id : templateQuery . data . id ,
139
139
file_id : serverFile . hash ,
140
140
} ) ;
141
+
141
142
onBuildEnds ( newVersion ) ;
142
143
} }
143
144
onPublish = { ( ) => {
@@ -186,9 +187,8 @@ export const TemplateVersionEditorPage: FC = () => {
186
187
}
187
188
disableUpdate = {
188
189
templateVersionQuery . data . job . status !== "succeeded" ||
189
- ! lastSuccessfulPublishedVersion ||
190
190
templateVersionQuery . data . name ===
191
- lastSuccessfulPublishedVersion . name
191
+ lastSuccessfulPublishedVersion ? .name
192
192
}
193
193
resources = { resourcesQuery . data }
194
194
buildLogs = { logs }
You can’t perform that action at this time.
0 commit comments