When in fetch import parameters mode, don't try to
apply the provider or fiscal year from the template.
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
this.bibSourceSelector.applyEntryId(this.selectedBibSource);
this.matchSetSelector.applyEntryId(this.selectedMatchSet);
- this.providerSelector.selectedId = this.selectedProvider;
- this.fiscalYearSelector.applyEntryId(this.selectedFiscalYear);
+ if (this.providerSelector) {
+ this.providerSelector.selectedId = this.selectedProvider;
+ }
+ if (this.fiscalYearSelector) {
+ this.fiscalYearSelector.applyEntryId(this.selectedFiscalYear);
+ }
this.mergeProfileSelector.applyEntryId(this.selectedMergeProfile);
this.fallThruMergeProfileSelector.applyEntryId(this.selectedFallThruMergeProfile);
}