folder: redact hash on route change

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/merge
Varun Patil 2023-11-09 23:47:09 -08:00
parent 803628c7a2
commit 857bcb8773
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template>
<div class="top-matter">
<NcBreadcrumbs>
<NcBreadcrumb :title="rootFolderName" :to="{ ...$route, params: { path: [] } }">
<NcBreadcrumb :title="rootFolderName" :to="{ ...$route, params: { path: [] }, hash: undefined }">
<template #icon>
<template v-if="routeIsPublic">
<ShareIcon :size="20" />
@ -16,7 +16,7 @@
v-for="folder in list"
:key="folder.idx"
:title="folder.text"
:to="{ ...$route, params: { path: folder.path } }"
:to="{ ...$route, params: { path: folder.path }, hash: undefined }"
/>
</NcBreadcrumbs>