fix(ui): Breadcrumb double update

This commit is contained in:
Eric Régnier
2020-01-07 10:23:13 +01:00
committed by Ludovic DEHON
parent d0f620f507
commit 0e5bb1bddf
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@@ -25,6 +25,7 @@ cli/src/main/resources/application-override.yml
node
node_modules
yarn-error.log
yarn.lock
ui/node_modules
ui/.env.local
ui/.env.*.local
@@ -32,4 +33,4 @@ webserver/src/main/resources/ui
### Docker
/.env
/.env

View File

@@ -6,7 +6,7 @@
<b-breadcrumb>
<b-breadcrumb-item><router-link :to="{ name: 'home'}"><home /> {{$t('home') | cap}}</router-link></b-breadcrumb-item>
<b-breadcrumb-item v-for="(item, x) in topNavbar.breadcrumb" :to="item.link" :text="item.label" />
<b-breadcrumb-item v-for="(item, x) in topNavbar.breadcrumb" :to="item.link" :text="item.label" :key="x" />
</b-breadcrumb>
</b-nav-text>
</b-navbar-nav>