File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,6 +91,10 @@ export default {
9191 selectedOption: ' ' ,
9292 freeTextResponse: ' ' ,
9393 },
94+ stepFour: {
95+ selectedOption: ' ' ,
96+ freeTextResponse: ' '
97+ },
9498 hasError: false ,
9599 error: [],
96100 inFlight: false ,
@@ -152,6 +156,13 @@ export default {
152156 profile: JSON .stringify (profileObject),
153157 }
154158
159+ const requestBody = {
160+ domain: domainToSubmit,
161+ sitename: this .stepOne .sitename ,
162+ username: this .stepOne .username ,
163+ profile: JSON .stringify (profileObject),
164+ }
165+
155166 if (this .stepThree .temporality === ' permanent' && this .stepFour .selectedOption ) {
156167 requestBody .knowledgeEquityResponse = {
157168 selectedOption: this .stepFour .selectedOption ,
Original file line number Diff line number Diff line change @@ -107,6 +107,15 @@ export default {
107107 }
108108 },
109109 },
110+ computed: {
111+ primaryBtnLabel () {
112+ if (this .value .temporality === ' permanent' ) {
113+ return ' Next >'
114+ } else {
115+ return ' Create Wiki'
116+ }
117+ }
118+ },
110119 methods: {
111120 primaryBtnAction () {
112121 if (this .value .temporality !== ' other' ) {
You can’t perform that action at this time.
0 commit comments