diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-08-22 14:29:58 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-08-25 08:38:00 +0200 |
commit | d0473214cd2582ec63f4a5021a8f5927f67bc98f (patch) | |
tree | 455708226929d13d55e24bde90833e1508a38714 /apps/sharebymail | |
parent | 708018795863999b674d1e3e900313785893d6a8 (diff) | |
download | nextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.tar.gz nextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.zip |
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/sharebymail')
-rw-r--r-- | apps/sharebymail/src/components/AdminSettings.vue | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/sharebymail/src/components/AdminSettings.vue b/apps/sharebymail/src/components/AdminSettings.vue index c84ded9bb2a..861afa4add1 100644 --- a/apps/sharebymail/src/components/AdminSettings.vue +++ b/apps/sharebymail/src/components/AdminSettings.vue @@ -21,25 +21,25 @@ --> <template> - <SettingsSection :title="t('sharebymail', 'Share by mail')" + <NcSettingsSection :title="t('sharebymail', 'Share by mail')" :description="t('sharebymail', 'Allows users to share a personalized link to a file or folder by putting in an email address.')"> - <CheckboxRadioSwitch type="switch" + <NcCheckboxRadioSwitch type="switch" :checked.sync="sendPasswordMail" @update:checked="update('sendpasswordmail', sendPasswordMail)"> {{ t('sharebymail', 'Send password by mail') }} - </CheckboxRadioSwitch> + </NcCheckboxRadioSwitch> - <CheckboxRadioSwitch type="switch" + <NcCheckboxRadioSwitch type="switch" :checked.sync="replyToInitiator" @update:checked="update('replyToInitiator', replyToInitiator)"> {{ t('sharebymail', 'Reply to initiator') }} - </CheckboxRadioSwitch> - </SettingsSection> + </NcCheckboxRadioSwitch> + </NcSettingsSection> </template> <script> -import CheckboxRadioSwitch from '@nextcloud/vue/dist/Components/CheckboxRadioSwitch' -import SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection' +import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch' +import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection' import { loadState } from '@nextcloud/initial-state' import { showError } from '@nextcloud/dialogs' import axios from '@nextcloud/axios' @@ -49,8 +49,8 @@ import confirmPassword from '@nextcloud/password-confirmation' export default { name: 'AdminSettings', components: { - CheckboxRadioSwitch, - SettingsSection, + NcCheckboxRadioSwitch, + NcSettingsSection, }, data() { return { |