Skip to content

Commit

Permalink
SHIBUI-1589 Fixed issue with contention on providers
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Nov 7, 2019
1 parent 535f03a commit 1fa09fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions ui/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
</button>
<div class="collapse navbar-collapse" id="navbar">
<ul class="navbar-nav ml-auto">
<li class="dropdown d-flex align-items-center" ngbDropdown placement="bottom-right" #dropdown="ngbDropdown">
<li class="dropdown d-flex align-items-center"
ngbDropdown
placement="bottom-right"
#dropdown="ngbDropdown">
<button
class="btn btn-outline-primary btn-sm"
id="addNewDropdown"
Expand All @@ -24,7 +27,7 @@
<ng-container *ngFor="let action of nav$ | async">
<a href=""
class="nav-link"
(click)="action.action($event)"
(click)="action.action($event); dropdown.close()"
[attr.aria-label]="action.label | translate"
role="button">
<ng-container *ngIf="action.icon">
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/metadata/provider/action/collection.action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class UpdateProviderFail implements Action {
}

export class UpdateProviderConflict implements Action {
readonly type = ProviderCollectionActionTypes.UPDATE_PROVIDER_FAIL;
readonly type = ProviderCollectionActionTypes.UPDATE_PROVIDER_CONFLICT;

constructor(public payload: MetadataProvider) { }
}
Expand Down

0 comments on commit 1fa09fc

Please sign in to comment.