Skip to content

Commit 70363b9

Browse files
authored
Merge branch 'main' into eslint-comma-dangle
2 parents c36cbdf + 4b1fe38 commit 70363b9

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

src/components/Cards/CreateWiki.vue

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff 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,

src/components/Cards/TemporalityCreateWikiWizardStep.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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') {

0 commit comments

Comments
 (0)