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