File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/components/operations/operation-list/ko/runtime Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,6 @@ export class OperationList {
142142 }
143143
144144 public async loadOperations ( ) : Promise < void > {
145-
146145 if ( this . groupByTag ( ) ) {
147146 this . operationGroups ( [ ] ) ;
148147 this . searchRequest = { pattern : this . pattern ( ) , tags : this . tags ( ) , grouping : "tag" } ;
@@ -194,6 +193,11 @@ export class OperationList {
194193 }
195194
196195 private async loadOfOperationsByTag ( ) : Promise < void > {
196+ const apiName = this . selectedApiName ( ) ;
197+ if ( ! apiName ) {
198+ return ;
199+ }
200+
197201 this . searchRequest . skip = ( this . pageNumber ( ) - 1 ) * Constants . defaultPageSize ;
198202
199203 const pageOfOperationsByTag = await this . apiService . getOperationsByTags ( this . selectedApiName ( ) , this . searchRequest ) ;
@@ -205,7 +209,6 @@ export class OperationList {
205209
206210 private async loadPageOfOperations ( ) : Promise < void > {
207211 const apiName = this . selectedApiName ( ) ;
208-
209212 if ( ! apiName ) {
210213 return ;
211214 }
You can’t perform that action at this time.
0 commit comments