Browse Source

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

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

Loading…
Cancel
Save