File tree Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ export default function App() {
98
98
}
99
99
} else {
100
100
didMountRef . current = true
101
+ // Removing any toast explicitly due to race condition of offline toast for some users
102
+ ToastManager . dismissToast ( onlineToastRef . current )
101
103
}
102
104
} , [ isOnline ] )
103
105
Original file line number Diff line number Diff line change @@ -204,16 +204,19 @@ export default function AppGroupDetailsRoute({ isSuperAdmin }: AppGroupAdminType
204
204
setAppGroupListData ( result )
205
205
setDescription ( result . description )
206
206
if ( result . apps ?. length ) {
207
- setAppListOptions (
208
- result . apps
209
- . map ( ( app ) : OptionType => {
210
- return {
211
- value : `${ app . appId } ` ,
212
- label : app . appName ,
213
- }
214
- } )
215
- . sort ( sortOptionsByLabel ) ,
216
- )
207
+ const _appListOptions = result . apps
208
+ . map ( ( app ) : OptionType => {
209
+ return {
210
+ value : `${ app . appId } ` ,
211
+ label : app . appName ,
212
+ }
213
+ } )
214
+ . sort ( sortOptionsByLabel )
215
+
216
+ setAppListOptions ( _appListOptions )
217
+ if ( selectedGroupFilter . length ) {
218
+ setSelectedAppList ( _appListOptions . filter ( ( app ) => selectedGroupFilter [ 0 ] . appIds . includes ( + app . value ) ) )
219
+ }
217
220
}
218
221
setAppListLoading ( false )
219
222
}
Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ export default function CiWebhookModal({
293
293
className = "mr-20 dc__transparent dc__align-right"
294
294
onClick = { ( ) => onEditShowEditableCiModal ( ciPipelineId , workflowId ) }
295
295
>
296
- // Here the CI model requires the CiPipelineId not the CiPipelineMaterialId
296
+ { /* Here the CI model requires the CiPipelineId not the CiPipelineMaterialId */ }
297
297
< Edit className = " icon-dim-24" />
298
298
</ button >
299
299
</ div >
You can’t perform that action at this time.
0 commit comments