2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

fix: Go back on BackLink click

This commit is contained in:
Faris Ansari 2019-12-26 19:14:27 +05:30
parent 2e5bd11957
commit 061c405212
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<a
class="cursor-pointer font-semibold flex items-center"
slot="title"
@click="$emit('click')"
@click="$router.back()"
>
<feather-icon name="chevron-left" class="w-5 h-5" />
<span class="ml-1">{{ _('Back') }}</span>

View File

@ -1,7 +1,7 @@
<template>
<div class="flex flex-col" v-if="doc">
<PageHeader>
<BackLink slot="title" @click="routeToList" />
<BackLink slot="title" />
<template slot="actions">
<Button class="text-gray-900 text-xs" @click="openInvoiceSettings">
{{ _('Customise') }}

View File

@ -1,7 +1,7 @@
<template>
<div class="flex flex-col">
<PageHeader>
<BackLink slot="title" @click="$router.back()" />
<BackLink slot="title" />
<template slot="actions" v-if="doc">
<DropdownWithActions class="ml-2" :actions="actions" />
<Button