filemanager: Remove back/goup button

This commit is contained in:
Johannes Zellner
2023-06-22 18:56:52 +02:00
parent fae23bd4fc
commit 7cee40b491
-4
View File
@@ -38,7 +38,6 @@
<template #header>
<TopBar class="navbar">
<template #left>
<Button icon="pi pi-chevron-left" @click="onGoUp()" text :disabled="cwd === '/'" style="margin-right: 5px;"/>
<Button icon="pi pi-refresh" @click="onRefresh()" text :loading="busyRefresh" style="margin-right: 5px;"/>
<PathBreadcrumbs :path="cwd" :activate-handler="onActivateBreadcrumb"/>
</template>
@@ -264,9 +263,6 @@ export default {
onActivateBreadcrumb(path) {
this.cwd = sanitize(path);
},
onGoUp() {
this.cwd = sanitize(this.cwd.split('/').slice(0, -1).join('/'));
},
async onRefresh() {
this.busyRefresh = true;
await this.loadCwd();