|
|
@ -279,6 +279,7 @@ function onEmailChange() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async function submitCallback() { |
|
|
|
async function submitCallback() { |
|
|
|
|
|
|
|
console.log("submitCallback") |
|
|
|
await loadFormView() |
|
|
|
await loadFormView() |
|
|
|
setFormData() |
|
|
|
setFormData() |
|
|
|
showColumnDropdown.value = false |
|
|
|
showColumnDropdown.value = false |
|
|
@ -408,12 +409,9 @@ onMounted(async () => { |
|
|
|
{{ $t('activity.addField') }} |
|
|
|
{{ $t('activity.addField') }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-button> |
|
|
|
</a-button> |
|
|
|
<!-- TODO #1: make the component out of sidebar --> |
|
|
|
|
|
|
|
<!-- TODO #2: reload view --> |
|
|
|
|
|
|
|
<SmartsheetColumnEditOrAdd |
|
|
|
<SmartsheetColumnEditOrAdd |
|
|
|
v-if="showColumnDropdown" |
|
|
|
v-if="showColumnDropdown" |
|
|
|
ref="editOrAddRef" |
|
|
|
ref="editOrAddRef" |
|
|
|
@click.stop |
|
|
|
|
|
|
|
@submit="submitCallback" |
|
|
|
@submit="submitCallback" |
|
|
|
@cancel="showColumnDropdown = false" |
|
|
|
@cancel="showColumnDropdown = false" |
|
|
|
/> |
|
|
|
/> |
|
|
|