@veloceapps/sdk 11.0.0-13 → 11.0.0-14

Sign up to get free protection for your applications and to get access to all the features.
@@ -928,7 +928,7 @@ class SalesTransactionService {
928
928
  this.state$ = this.stateSubj$.asObservable().pipe(filter(isDefined));
929
929
  }
930
930
  init(headerId, params) {
931
- return this.salesTransactionApiService.getState(headerId, params).pipe(tap$1(res => this.stateSubj$.next(res)));
931
+ return this.salesTransactionApiService.getState(headerId, params).pipe(tap$1(res => this.stateSubj$.next(res.salesTransaction)), map$1(res => res.salesTransaction));
932
932
  }
933
933
  finalizeInit() {
934
934
  this.isInitializedSubj$.next(true);