Browse Source

fix(nc-gui): update prefill enable switch testid

pull/7786/head
Ramesh Mane 9 months ago
parent
commit
3662a5ce60
  1. 5
      packages/nc-gui/components/dlg/share-and-collaborate/SharePage.vue

5
packages/nc-gui/components/dlg/share-and-collaborate/SharePage.vue

@ -391,7 +391,7 @@ async function savePreFilledMode() {
<a-switch <a-switch
v-e="['c:share:view:surver-mode:toggle']" v-e="['c:share:view:surver-mode:toggle']"
:checked="formPreFill.preFillEnabled" :checked="formPreFill.preFillEnabled"
data-testid="nc-modal-share-view__surveyMode" data-testid="nc-modal-share-view__preFill"
@update:checked=" @update:checked="
(value) => { (value) => {
formPreFill = { formPreFill = {
@ -404,13 +404,12 @@ async function savePreFilledMode() {
</a-switch> </a-switch>
</div> </div>
<div v-if="formPreFill.preFillEnabled"> <div v-if="formPreFill.preFillEnabled">
<!-- <div class="text-black">{{ $t('activity.preFilledFields.title') }}</div> -->
<a-select <a-select
:value="formPreFill.preFilledMode" :value="formPreFill.preFilledMode"
:allow-clear="formPreFill.preFilledMode !== t('general.default')" :allow-clear="formPreFill.preFilledMode !== t('general.default')"
class="nc-pre-filled-mode !rounded-md w-full" class="nc-pre-filled-mode !rounded-md w-full"
dropdown-class-name="nc-dropdown-pre-filled-mode border-1 !rounded-md border-gray-200" dropdown-class-name="nc-dropdown-pre-filled-mode border-1 !rounded-md border-gray-200"
data-testid="nc-modal-share-view__preFillMode"
@update:value=" @update:value="
(value) => { (value) => {
formPreFill = { formPreFill = {

Loading…
Cancel
Save