How to use the @harbor/ui.OperationState.success function in @harbor/ui

To help you get started, we’ve selected a few @harbor/ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github goharbor / harbor / src / portal / src / app / project / member / add-group / add-group.component.ts View on Github external
mergeMap(res => {
            operateChanges(operMessage, OperationState.success);
            return observableOf(res);
           })); }),
            catchError(
github goharbor / harbor / src / ui_ng / src / app / user / user.component.ts View on Github external
this.translate.get('BATCH.DELETED_SUCCESS').subscribe(res => {
        operateChanges(operMessage, OperationState.success);
      });
    }).catch(error => {
github goharbor / harbor / src / portal / src / app / project / member / member.component.ts View on Github external
this.translate.get("BATCH.DELETED_SUCCESS").subscribe(res => {
            operateChanges(operMessage, OperationState.success);
          });
        }), catchError(error => {
github goharbor / harbor / src / portal / src / app / group / group.component.ts View on Github external
return this.translate.get("BATCH.DELETED_SUCCESS").pipe(flatMap(res => {
            operateChanges(operMessage, OperationState.success);
            return of(res);
          }));
        }))