I am passing the productConfigId to apex and getting result as expected and also I am using this id in HTML and it is working expected but when I use it in goToSubjectCount it results undefined instead of the ID, please suggest.
export default class APTPS_Configure_Visit_Schedule_LWC extends NavigationMixin(LightningElement) {
@api productConfigId;
@api configRequestId;
@track imageUrl = apptusLogo;
@track proposalData;
@track goToSubjectCount='/apex/APTPS_Configure_Subject_Counts?id=' + this.productConfigId + '&configRequestId=' + this.configRequestId + '';
@track goToMapSupplyQuantity = '/apex/APTPS_Configure_Subject_Counts?id=' + this.productConfigId + '&configRequestId=' + this.configRequestId + '';
@wire(proposalDetails, { productConfigId: '$productConfigId' })
proposalDetail({data}) {
if (data) {
this.proposalData = data;
}
}
}