File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ export const useOrganizationStore = defineStore('organization', {
5656
5757 const payload = {
5858 ...this . organizationModel ,
59- applicationTemplateVersion : appStore . getApplicationTemplateVersion ( applicationStore . programYearId ) ,
6059 } ;
6160 payload . providerType = this . getOrgProviderTypeID ;
6261 //update the loaded model here before the same, otherwise errors will prevent you from leaving the page
@@ -77,6 +76,7 @@ export const useOrganizationStore = defineStore('organization', {
7776 //we calculate which app to use in lookup - no need to do it again here
7877 const programYear = appStore . programYearList . newApp ;
7978 payload . programYearId = programYear . programYearId ;
79+ payload . applicationTemplateVersion = appStore . getApplicationTemplateVersion ( programYear . programYearId ) ;
8080 applicationStore . setProgramYearId ( programYear . programYearId ) ;
8181 applicationStore . setProgramYearLabel ( programYear . name ) ;
8282 try {
You can’t perform that action at this time.
0 commit comments