mirror of
https://github.com/frappe/books.git
synced 2025-01-25 16:18:33 +00:00
chore: tune the Toasts
This commit is contained in:
parent
89e70095ae
commit
fdd1da3052
@ -9,18 +9,15 @@
|
|||||||
flex
|
flex
|
||||||
items-center
|
items-center
|
||||||
mb-3
|
mb-3
|
||||||
w-60
|
w-80
|
||||||
"
|
"
|
||||||
:class="bgColor"
|
:class="bgColor + (action ? ' cursor-pointer' : '')"
|
||||||
style="transition: opacity 150ms ease-in"
|
style="transition: opacity 150ms ease-in"
|
||||||
:style="{ opacity }"
|
:style="{ opacity }"
|
||||||
|
@click="action"
|
||||||
v-if="show"
|
v-if="show"
|
||||||
>
|
>
|
||||||
<feather-icon
|
<feather-icon :name="iconName" class="w-6 h-6 mr-3" :class="iconColor" />
|
||||||
:name="iconName"
|
|
||||||
class="w-8 h-8 mr-3 text-gray-800"
|
|
||||||
:class="iconColor"
|
|
||||||
/>
|
|
||||||
<div>
|
<div>
|
||||||
<p class="text-base">{{ message }}</p>
|
<p class="text-base">{{ message }}</p>
|
||||||
<button
|
<button
|
||||||
|
@ -114,7 +114,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
showReloadToast() {
|
showReloadToast() {
|
||||||
showToast({
|
showToast({
|
||||||
message: _('Changes require reload'),
|
message: _('Settings changes will be visible on reload'),
|
||||||
actionText: frappe._('Reload App'),
|
actionText: frappe._('Reload App'),
|
||||||
type: 'info',
|
type: 'info',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user