File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
apps/files/src/components/FilesAppSettings Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 44-->
55
66<script setup lang="ts">
7+ import { mdiAccountOutline , mdiFolderOutline } from ' @mdi/js'
78import { t } from ' @nextcloud/l10n'
89import NcAppSettingsSection from ' @nextcloud/vue/components/NcAppSettingsSection'
910import NcFormBox from ' @nextcloud/vue/components/NcFormBox'
1011import NcFormBoxSwitch from ' @nextcloud/vue/components/NcFormBoxSwitch'
12+ import NcIconSvgWrapper from ' @nextcloud/vue/components/NcIconSvgWrapper'
1113import NcRadioGroup from ' @nextcloud/vue/components/NcRadioGroup'
1214import NcRadioGroupButton from ' @nextcloud/vue/components/NcRadioGroupButton'
1315import { useUserConfigStore } from ' ../../store/userconfig.ts'
@@ -37,8 +39,16 @@ const store = useUserConfigStore()
3739 v-model =" store.userConfig.default_view"
3840 :label =" t('files', 'Default view')"
3941 @update:modelValue =" store.update('default_view', $event)" >
40- <NcRadioGroupButton :label =" t('files', 'All files')" value =" files" />
41- <NcRadioGroupButton :label =" t('files', 'Personal files')" value =" personal" />
42+ <NcRadioGroupButton :label =" t('files', 'All files')" value =" files" >
43+ <template #icon >
44+ <NcIconSvgWrapper :path =" mdiFolderOutline" />
45+ </template >
46+ </NcRadioGroupButton >
47+ <NcRadioGroupButton :label =" t('files', 'Personal files')" value =" personal" >
48+ <template #icon >
49+ <NcIconSvgWrapper :path =" mdiAccountOutline" />
50+ </template >
51+ </NcRadioGroupButton >
4252 </NcRadioGroup >
4353 </NcAppSettingsSection >
4454</template >
You can’t perform that action at this time.
0 commit comments