Skip to content

Commit

Permalink
IONOS(layout): Move view switcher from file-list__header for layout p…
Browse files Browse the repository at this point in the history
…urpose

Signed-off-by: Tatjana Kaschperko Lindt <[email protected]>
  • Loading branch information
tanyaka committed Dec 19, 2024
1 parent a999bfe commit 075f84b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions apps/files/src/views/FilesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,6 @@

<!-- Secondary loading indicator -->
<NcLoadingIcon v-if="isRefreshing" class="files-list__refresh-icon" />

<NcButton v-if="filesListWidth >= 512 && enableGridView"
:aria-label="gridViewButtonLabel"
:title="gridViewButtonLabel"
class="files-list__header-grid-button"
type="tertiary"
@click="toggleGridView">
<template #icon>
<ListViewIcon v-if="userConfig.grid_view" />
<ViewGridIcon v-else />
</template>
</NcButton>
</div>

<!-- Drag and drop notice -->
Expand Down Expand Up @@ -112,6 +100,18 @@
:current-folder="currentFolder"
:current-view="currentView"
:nodes="dirContentsSorted" />

<NcButton v-if="filesListWidth >= 512 && enableGridView"
:aria-label="gridViewButtonLabel"
:title="gridViewButtonLabel"
class="files-list__header-grid-button"
type="tertiary"
@click="toggleGridView">
<template #icon>
<ListViewIcon v-if="userConfig.grid_view" />
<ViewGridIcon v-else />
</template>
</NcButton>
</NcAppContent>
</template>

Expand Down

0 comments on commit 075f84b

Please sign in to comment.