Skip to content

Commit

Permalink
Merged in feature/SHIBUI-816 (pull request #183)
Browse files Browse the repository at this point in the history
SHIBUI-816 Removed validation for entity id

Approved-by: Shibui Jenkins <shibui.jenkins@gmail.com>
Approved-by: Ryan Mathis <rmathis@unicon.net>
  • Loading branch information
rmathis committed Aug 30, 2018
2 parents 3de9119 + f100f5d commit 08c2ab2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 4 additions & 2 deletions ui/src/app/metadata/filter/effect/filter.effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ export class FilterEffects {
@Effect({ dispatch: false })
cancelChanges$ = this.actions$.pipe(
ofType<CancelCreateFilter>(FilterActionTypes.CANCEL_CREATE_FILTER),
combineLatest(this.store.select(fromProvider.getSelectedProviderId).pipe(skipWhile(id => !id))),
tap(([filter, provider]) => this.router.navigate(['/', 'metadata', 'provider', provider, 'filters']))
withLatestFrom(this.store.select(fromProvider.getSelectedProviderId).pipe(skipWhile(id => !id))),
tap(([filter, provider]) => {
this.router.navigate(['/', 'metadata', 'provider', provider, 'filters']);
})
);

constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ export class FilterTargetComponent extends ObjectWidget implements OnDestroy, Af
search: FormControl = new FormControl(
'',
[],
[
EntityValidators.existsInCollection(this.store.select(fromFilters.getEntityCollection))
]
[]
);

script: FormControl = new FormControl(
Expand Down

0 comments on commit 08c2ab2

Please sign in to comment.