Browse Source

fix(nc-gui): load shared view data after password was entered

pull/3669/head
braks 2 years ago committed by Raju Udava
parent
commit
628217a4f1
  1. 2
      packages/nc-gui/pages/[projectType]/form/[viewId].vue

2
packages/nc-gui/pages/[projectType]/form/[viewId].vue

@ -55,7 +55,7 @@ if (!notFound.value) {
<div class="w-full flex flex-col"> <div class="w-full flex flex-col">
<a-typography-title :level="4">This shared view is protected</a-typography-title> <a-typography-title :level="4">This shared view is protected</a-typography-title>
<a-form ref="formRef" :model="{ password }" class="mt-2" @finish="passwordDlg = false"> <a-form ref="formRef" :model="{ password }" class="mt-2" @finish="loadSharedView">
<a-form-item name="password" :rules="[{ required: true, message: $t('msg.error.signUpRules.passwdRequired') }]"> <a-form-item name="password" :rules="[{ required: true, message: $t('msg.error.signUpRules.passwdRequired') }]">
<a-input-password v-model:value="password" :placeholder="$t('msg.info.signUp.enterPassword')" /> <a-input-password v-model:value="password" :placeholder="$t('msg.info.signUp.enterPassword')" />
</a-form-item> </a-form-item>

Loading…
Cancel
Save