]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update Encryption.vue
authorJosh <josh.t.richards@gmail.com>
Mon, 1 Apr 2024 22:23:18 +0000 (18:23 -0400)
committerGitHub <noreply@github.com>
Mon, 1 Apr 2024 22:23:18 +0000 (18:23 -0400)
Signed-off-by: Josh <josh.t.richards@gmail.com>
apps/settings/src/components/Encryption.vue

index 2649272606685b2735864849851f5f5b7b9a522f..680cf23b370f898ad2d8b5588b9d3d91e2add35c 100644 (file)
@@ -30,6 +30,7 @@
                <NcNoteCard type="warning">
                        <p>Once enabled, server-side encryption cannot be toggled off here. Disabling encryption requires command line access.</p>
                </NcNoteCard>
+               
                <NcCheckboxRadioSwitch :checked="encryptionEnabled || shouldDisplayWarning"
                        :disabled="encryptionEnabled"
                        type="switch"
 
 <script>
 import axios from '@nextcloud/axios'
-import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
-import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
-import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
-import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'
+import { NcCheckboxRadioSwitch, NcButton, NcSettingsSection, NcNoteCard } from '@nextcloud/vue'
 import { loadState } from '@nextcloud/initial-state'
 import { getLoggerBuilder } from '@nextcloud/logger'