forked from verdnatura/salix-front
refactor(routeList): refs #6971 moved button to subtoolbar + same functionality as other subtoolbar items
This commit is contained in:
parent
63f00c24d7
commit
64d8f86ea9
|
@ -255,6 +255,15 @@ const markAsServed = () => {
|
||||||
>
|
>
|
||||||
<QTooltip>{{ t('Mark as served') }}</QTooltip>
|
<QTooltip>{{ t('Mark as served') }}</QTooltip>
|
||||||
</QBtn>
|
</QBtn>
|
||||||
|
<RouterLink :to="{ name: 'RouteCreate' }">
|
||||||
|
<QBtn
|
||||||
|
icon="add"
|
||||||
|
color="primary"
|
||||||
|
:disable="!selectedRows?.length"
|
||||||
|
@click="{ navigate }"
|
||||||
|
/>
|
||||||
|
<QTooltip>{{ t('newRoute') }}</QTooltip>
|
||||||
|
</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
</VnSubToolbar>
|
</VnSubToolbar>
|
||||||
<div class="route-list">
|
<div class="route-list">
|
||||||
|
@ -494,12 +503,6 @@ const markAsServed = () => {
|
||||||
</VnPaginate>
|
</VnPaginate>
|
||||||
</div>
|
</div>
|
||||||
<QPageSticky :offset="[20, 20]">
|
<QPageSticky :offset="[20, 20]">
|
||||||
<RouterLink :to="{ name: 'RouteCreate' }">
|
|
||||||
<QBtn fab icon="add" color="primary" />
|
|
||||||
<QTooltip>
|
|
||||||
{{ t('newRoute') }}
|
|
||||||
</QTooltip>
|
|
||||||
</RouterLink>
|
|
||||||
</QPageSticky>
|
</QPageSticky>
|
||||||
</QPage>
|
</QPage>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue