mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
enh: breadcrumbs icons are now more visually descriptive
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
This commit is contained in:
parent
21bc3a3de7
commit
fdc379b8f5
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@
|
|||
v-bind="section"
|
||||
dir="auto"
|
||||
:to="section.to"
|
||||
:icon-text="true"
|
||||
:title="titleForSection(index, section)"
|
||||
:aria-description="ariaForSection(section)"
|
||||
@click.native="onClick(section.to)">
|
||||
|
|
@ -95,7 +96,7 @@ export default Vue.extend({
|
|||
},
|
||||
getDirDisplayName(path) {
|
||||
if (path === '/') {
|
||||
return t('files', 'Home')
|
||||
return this.$navigation?.active?.name || t('files', 'Home')
|
||||
}
|
||||
|
||||
const fileId = this.getFileIdFromPath(path)
|
||||
|
|
|
|||
Loading…
Reference in a new issue