Skip to content

Commit

Permalink
move 'Private Page' setting into Security section
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyMosin committed Nov 16, 2024
1 parent 3345a68 commit b129e3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/settings-v2/SectionPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,6 @@ const handlePreviewClick = () => {
:label="t('appointments', 'Hide phone number field')"
:store="settingsStore"/>

<ComboCheckbox
prop-name="privatePage"
:label="t('appointments', 'Private (visitors must be logged-in)')"
:store="settingsStore"/>

<LabelAccordion
:label="t('appointments', 'Advanced Form Settings')"
:accordion="true">
Expand Down
6 changes: 6 additions & 0 deletions src/components/settings-v2/SectionSecurity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ const handleDeleteBadEmail = (email) => {

<template>
<div class="ps-section-wrap">
<ComboCheckbox
prop-name="privatePage"
:label="t('appointments', 'Private Page (visitors must be logged-in)')"
:store="settingsStore"/>

<ComboCheckbox
class="ps-vert-spacing"
prop-name="secHcapEnabled"
Expand Down Expand Up @@ -74,6 +79,7 @@ const handleDeleteBadEmail = (email) => {
</NcNoteCard>
</div>
</div>

<LabelAccordion
class="ps-vert-spacing"
:label="t('appointments','Blocked email addresses:')">
Expand Down

0 comments on commit b129e3b

Please sign in to comment.