mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 10:45:45 +01:00
Modify create endpoint ping icon undisappear auto about #4102
This commit is contained in:
parent
1dc6e57ffd
commit
cc894a39bf
@ -248,6 +248,7 @@ export class CreateEditEndpointComponent implements AfterViewChecked, OnDestroy
|
||||
.subscribe(res => {
|
||||
this.inlineAlert.showInlineError(res);
|
||||
});
|
||||
this.forceRefreshView(1000);
|
||||
}
|
||||
);
|
||||
this.forceRefreshView(1000);
|
||||
@ -294,9 +295,10 @@ export class CreateEditEndpointComponent implements AfterViewChecked, OnDestroy
|
||||
this.inlineAlert.showInlineError(res);
|
||||
});
|
||||
this.onGoing = false;
|
||||
this.forceRefreshView(1000);
|
||||
}
|
||||
);
|
||||
this.forceRefreshView(100);
|
||||
this.forceRefreshView(1000);
|
||||
}
|
||||
|
||||
handleErrorMessageKey(status: number): string {
|
||||
|
@ -31,7 +31,7 @@
|
||||
"clarity-icons": "^0.10.17",
|
||||
"clarity-ui": "^0.10.17",
|
||||
"core-js": "^2.4.1",
|
||||
"harbor-ui": "0.6.33",
|
||||
"harbor-ui": "0.6.34",
|
||||
"intl": "^1.2.5",
|
||||
"mutationobserver-shim": "^0.3.2",
|
||||
"ngx-cookie": "^1.0.0",
|
||||
|
@ -118,11 +118,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="offset-md-4">
|
||||
<div>
|
||||
<span class="spinner spinner-inline" [hidden]="inProgress === false"></span>
|
||||
<br>
|
||||
<button type="button" id="ruleBtnCancel" class="btn btn-outline" [disabled]="!hasFormChange() || this.inProgress || this.isSubmitOver" (click)="onCancel()">{{ 'BUTTON.CANCEL' | translate }}</button>
|
||||
<button type="submit" id="ruleBtnOk" class="btn btn-primary" (click)="onSubmit()" [disabled]="!ruleForm.valid || !isVaild || !hasFormChange()">{{ 'BUTTON.OK' | translate }}</button>
|
||||
<button type="submit" id="ruleBtnOk" class="btn btn-primary" (click)="onSubmit()" [disabled]="!ruleForm.valid || !isVaild || !hasFormChange()">{{ 'BUTTON.SAVE' | translate }}</button>
|
||||
<button type="button" id="ruleBtnCancel" class="btn btn-outline" [disabled]="this.inProgress || this.isSubmitOver" (click)="onCancel()">{{ 'BUTTON.CANCEL' | translate }}</button>
|
||||
</div><!-- [disabled]="!ruleForm.valid"-->
|
||||
</section>
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user