Skip to content

Commit

Permalink
data profile bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Vixtir committed Dec 6, 2018
1 parent f3cc4a4 commit 217e974
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export class DataProfilesComponent implements OnInit, OnDestroy {
console.log(`ngOnInit with id: ${this.modelVersionId} and store: ${this.store}`);
this.buildSub = this.build$.pipe(filter(_ => _ != null)).subscribe(build => {
this.buildId = build.id;
this.store.dispatch(new GetFieldsAction(build.id));

this.store.dispatch(new GetFieldsAction(build.modelVersion.id));
});
this.fieldsSub = this.store.select(fromProfiles.getFieldsEntitiesState).subscribe(state => {
this.isLoading = false;
Expand Down

0 comments on commit 217e974

Please sign in to comment.