File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/components/app/list-new Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ const GenericAppList = ({
141
141
} , [ appsList ] )
142
142
143
143
const handleArgoAppListing = ( ) => {
144
+ if ( ! clusterIdsCsv ) return
144
145
setDataStateType ( AppListViewType . LOADING )
145
146
getArgoInstalledExternalApps ( clusterIdsCsv )
146
147
. then ( ( appsListResponse ) => {
@@ -173,11 +174,7 @@ const GenericAppList = ({
173
174
174
175
// reset data
175
176
function init ( ) {
176
- if ( isSSE && ! payloadParsedFromUrl ?. namespaces ?. length ) {
177
- setDataStateType ( AppListViewType . LIST )
178
- } else {
179
- setDataStateType ( AppListViewType . LOADING )
180
- }
177
+ setDataStateType ( AppListViewType . LIST )
181
178
setClusterIdsCsv ( _getClusterIdsFromRequestUrl ( ) ?? null )
182
179
setAppsList ( [ ] )
183
180
setFilteredAppsList ( [ ] )
You can’t perform that action at this time.
0 commit comments