mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
enh: breadcrumbs icons are now more visually descriptive
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
This commit is contained in:
parent
bb87232882
commit
bbf279f546
1 changed files with 2 additions and 1 deletions
|
|
@ -30,6 +30,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)">
|
||||
|
|
@ -119,7 +120,7 @@ export default defineComponent({
|
|||
},
|
||||
getDirDisplayName(path: string): string {
|
||||
if (path === '/') {
|
||||
return t('files', 'Home')
|
||||
return this.$navigation?.active?.name || t('files', 'Home')
|
||||
}
|
||||
|
||||
const fileId: number | undefined = this.getFileIdFromPath(path)
|
||||
|
|
|
|||
Loading…
Reference in a new issue