Browse Source

fix(gui): shared form view with password

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3629/head
Pranav C 2 years ago
parent
commit
7f79ff514c
  1. 2
      packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue

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

@ -36,6 +36,7 @@ function isRequired(_columnObj: Record<string, any>, required = false) {
<div <div
class="bg-white relative flex flex-col justify-center gap-2 w-full lg:max-w-1/2 max-w-500px m-auto p-8 md:(rounded-lg border-1 border-gray-200 shadow-xl)" class="bg-white relative flex flex-col justify-center gap-2 w-full lg:max-w-1/2 max-w-500px m-auto p-8 md:(rounded-lg border-1 border-gray-200 shadow-xl)"
> >
<template v-if="sharedFormView">
<general-noco-icon class="color-transition hover:(ring ring-accent)" :class="[isLoading ? 'animated-bg-gradient' : '']" /> <general-noco-icon class="color-transition hover:(ring ring-accent)" :class="[isLoading ? 'animated-bg-gradient' : '']" />
<h1 class="prose-2xl font-bold self-center my-4">{{ sharedFormView.heading }}</h1> <h1 class="prose-2xl font-bold self-center my-4">{{ sharedFormView.heading }}</h1>
@ -128,6 +129,7 @@ function isRequired(_columnObj: Record<string, any>, required = false) {
</div> </div>
</div> </div>
</template> </template>
</template>
<a-modal <a-modal
v-model:visible="passwordDlg" v-model:visible="passwordDlg"

Loading…
Cancel
Save