Refactoring of fe4ebd58: Set Close/Back buttons to always browse back

This commit is contained in:
Bubka
2023-08-30 14:33:43 +02:00
parent 70313995b9
commit d7942b4233
6 changed files with 17 additions and 53 deletions

View File

@ -4,7 +4,7 @@
<div class="tabs is-centered is-fullwidth">
<ul>
<li v-for="tab in tabs" :key="tab.view" :class="{ 'is-active': tab.view === activeTab }">
<router-link :id="tab.id" :to="{ name: tab.view }">{{ tab.name }}</router-link>
<router-link :id="tab.id" :to="{ name: tab.view, params: {returnTo: $route.params.returnTo} }">{{ tab.name }}</router-link>
</li>
</ul>
</div>