Commit f2916b9 1 parent 72b9150 commit f2916b9 Copy full SHA for f2916b9
File tree 1 file changed +2
-2
lines changed
client/components/pages/forms/show
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 24
24
</svg >
25
25
</v-button >
26
26
</template >
27
- <span v-if =" form.visibility === 'draft'"
27
+ <span v-if =" isMainPage && form.visibility === 'draft'"
28
28
class =" block px-4 py-2 text-md text-gray-700 cursor-pointer dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
29
29
@click =" showDraftFormWarningNotification"
30
30
>
42
42
View form
43
43
</span >
44
44
45
- <a v-else-if =" isMainPage && user " v-track.view_form_click =" {form_id:form.id, form_slug:form.slug}" :href =" form.share_url"
45
+ <a v-else-if =" isMainPage" v-track.view_form_click =" {form_id:form.id, form_slug:form.slug}" :href =" form.share_url"
46
46
target =" _blank"
47
47
class =" block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
48
48
>
You can’t perform that action at this time.
0 commit comments