* #44 - ui for summary * #44 - vacation monthly usage * #44 - fix * #44 - fix Co-authored-by: EwelinaLasowy <ewelina.lasowy@blumilk.pl>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<script setup>
|
||||
import MainMenu from '@/Shared/MainMenu'
|
||||
import { useToast } from 'vue-toastification'
|
||||
import { defineProps, watch } from 'vue'
|
||||
import { watch } from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
flash: Object,
|
||||
@@ -30,6 +30,10 @@ watch(() => props.flash, flash => {
|
||||
toast.success(flash.success)
|
||||
}
|
||||
|
||||
if (flash.info) {
|
||||
toast.info(flash.info)
|
||||
}
|
||||
|
||||
if (flash.error) {
|
||||
toast.error(flash.error)
|
||||
}
|
||||
|
Reference in New Issue
Block a user