How to use the @harbor/ui.OperationState.failure 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 / group / group.component.ts View on Github external
this.translateService.get(message).subscribe(res =>
            operateChanges(operMessage, OperationState.failure, res)
          );
github goharbor / harbor / src / portal / src / app / project / member / add-group / add-group.component.ts View on Github external
this.translateService.get(message).subscribe(res =>
                    operateChanges(operMessage, OperationState.failure, res)
                  );
github goharbor / harbor / src / portal / src / app / project / helm-chart / list-charts-detail / helm-chart.component.ts View on Github external
this.translateService.get(message).subscribe(res =>
            operateChanges(operateMsg, OperationState.failure, res)
          );
github goharbor / harbor / src / portal / src / app / project / member / member.component.ts View on Github external
this.translate.get(message).subscribe(res =>
            operateChanges(operMessage, OperationState.failure, res)
          );
github goharbor / harbor / src / ui_ng / src / app / user / user.component.ts View on Github external
this.translate.get('BATCH.DELETED_FAILURE').subscribe(res => {
        operateChanges(operMessage, OperationState.failure, res);
      });
      return null;