Skip to content

Commit 1808e99

Browse files
fix(files-list): replace missing ListViewIcon with NcIconSvgWrapper using mdiViewList
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 23bacc6 commit 1808e99

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/views/FilesList/FilesList.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
variant="tertiary"
3232
@click="toggleGridView">
3333
<template #icon>
34-
<ListViewIcon v-if="userConfigStore.files_list_grid_view" />
35-
<NcIconSvgWrapper :path="mdiViewGrid" v-else />
34+
<NcIconSvgWrapper v-if="userConfigStore.files_list_grid_view" :path="mdiViewList" />
35+
<NcIconSvgWrapper v-else :path="mdiViewGrid" />
3636
</template>
3737
</NcButton>
3838
</div>
@@ -77,6 +77,7 @@ import HomeSvg from '@mdi/svg/svg/home.svg?raw'
7777
import {
7878
mdiFolder,
7979
mdiViewGrid,
80+
mdiViewList,
8081
} from '@mdi/js'
8182
8283
import NcAppContent from '@nextcloud/vue/components/NcAppContent'
@@ -120,6 +121,7 @@ export default {
120121
sidebarStore,
121122
mdiFolder,
122123
mdiViewGrid,
124+
mdiViewList,
123125
}
124126
},
125127
data() {

0 commit comments

Comments
 (0)