EmptyFilePage refactoring

This commit is contained in:
Čarodej
2021-10-27 10:04:36 +02:00
parent 21d6410f76
commit 265cc393e1
9 changed files with 156 additions and 135 deletions

View File

@@ -60,11 +60,11 @@
</MobileActionButton>
</FileActionsMobile>
<FileBrowser>
<template v-slot:empty-file-page>
<h1 class="title">{{ $t('empty_page.title') }}</h1>
</template>
</FileBrowser>
<EmptyFilePage>
<h1 class="title">{{ $t('empty_page.title') }}</h1>
</EmptyFilePage>
<FileBrowser />
<MobileMultiSelectToolbar>
<ToolbarButton @click.native="$deleteFileOrFolder(clipboard)" class="action-btn" source="trash" :class="{'is-inactive' : clipboard.length < 1}" :action="$t('actions.delete')" />
@@ -74,6 +74,7 @@
</template>
<script>
import EmptyFilePage from "../../components/FilesView/EmptyFilePage";
import FileActionsMobile from "../../components/FilesView/FileActionsMobile";
import MobileActionButtonUpload from '/resources/js/components/FilesView/MobileActionButtonUpload'
import MobileActionButton from '/resources/js/components/FilesView/MobileActionButton'
@@ -100,6 +101,7 @@
ContextMenu,
Option,
FileActionsMobile,
EmptyFilePage,
},
computed: {
...mapGetters([