We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1086d1e commit 8cefaf4Copy full SHA for 8cefaf4
apps/files/src/components/BreadCrumbs.vue
@@ -9,7 +9,7 @@
9
dir="auto"
10
:to="section.to"
11
:title="titleForSection(index, section)"
12
- :aria-description="ariaForSection(index, section)"
+ :aria-description="ariaForSection(section)"
13
@click.native="onClick(section.to)">
14
<template v-if="index === 0" #icon>
15
<Home :size="20"/>
@@ -118,8 +118,8 @@ export default Vue.extend({
118
return null
119
},
120
121
- ariaForSection(index, section) {
122
- if (index === section.length - 1) {
+ ariaForSection(section) {
+ if (section?.to?.query?.dir === this.$route.query.dir) {
123
return t('files', 'Reload current directory')
124
}
125
0 commit comments