Skip to content

Commit

Permalink
SHIBUI-742 Fixed bug with cancel button
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Aug 8, 2018
1 parent c0fb25a commit 19ea8cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="col-md-12">
<span class="display-6">
<i class="fa fa-fw fa-gears"></i>
<ng-container i18n="@@label--new-filter">Edit EntityAttributesFilter - {{ filter.name }}</ng-container>
<ng-container i18n="@@label--new-filter">&nbsp; Edit EntityAttributesFilter - {{ filter.name }}</ng-container>
</span>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="col-md-12">
<span class="display-6">
<i class="fa fa-fw fa-gears"></i>
<ng-container i18n="@@label--new-filter">new EntityAttributesFilter</ng-container>
<ng-container i18n="@@label--new-filter">&nbsp; New Filter - EntityAttributes</ng-container>
</span>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/metadata/filter/effect/filter.effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class FilterEffects {
)
);

@Effect()
@Effect({dispatch: false})
cancelChanges$ = this.actions$.pipe(
ofType<CancelCreateFilter>(FilterActionTypes.CANCEL_CREATE_FILTER),
combineLatest(this.store.select(fromProvider.getSelectedProviderId).pipe(skipWhile(id => !id))),
Expand Down

0 comments on commit 19ea8cc

Please sign in to comment.