mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 06:21:07 -05:00
Merge pull request #42950 from nextcloud/fix/a11y/41895/breadcrumb-fix-for-home-component
This commit is contained in:
commit
fd73d3a991
3 changed files with 6 additions and 6 deletions
|
|
@ -31,7 +31,7 @@
|
|||
dir="auto"
|
||||
:to="section.to"
|
||||
:title="titleForSection(index, section)"
|
||||
:aria-description="ariaForSection(index, section)"
|
||||
:aria-description="ariaForSection(section)"
|
||||
@click.native="onClick(section.to)">
|
||||
<template v-if="index === 0" #icon>
|
||||
<Home :size="20"/>
|
||||
|
|
@ -142,8 +142,8 @@ export default defineComponent({
|
|||
return null
|
||||
},
|
||||
|
||||
ariaForSection(index, section) {
|
||||
if (index === section.length - 1) {
|
||||
ariaForSection(section) {
|
||||
if (section?.to?.query?.dir === this.$route.query.dir) {
|
||||
return t('files', 'Reload current directory')
|
||||
}
|
||||
return null
|
||||
|
|
|
|||
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue