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

fix: back button issue

- show development in sidebar if dev
This commit is contained in:
18alantom 2022-06-09 12:35:42 +05:30 committed by Alan
parent 82336e18bc
commit e801878a92
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<h1 class="text-2xl font-bold select-none" v-if="title && !backLink">
{{ title }}
</h1>
<BackLink v-if="backLink" />
<BackLink v-if="backLink" class="window-no-drag"/>
<div class="flex items-stretch window-no-drag gap-2">
<slot />
<SearchBar v-if="!hideSearch"/>

View File

@ -94,6 +94,9 @@
<!-- Report Issue and App Version -->
<div class="px-5 window-no-drag">
<p v-if="fyo.store.isDevelopment" class="text-sm text-gray-600">
Development
</p>
<button
class="pb-1 text-sm text-gray-600 hover:text-gray-800 w-full text-left"
@click="() => reportIssue()"