@ -112,6 +112,7 @@ const submitDeleteHistory = async () => {
}
}
}
< / script >
< template >
@ -120,8 +121,8 @@ const submitDeleteHistory = async () => {
< v -toolbar flat >
< v -text -field v -model = " search " class = "ml-5" label = "Filtrer un membre" prepend -inner -icon = " mdi -magnify " variant = "outlined" hide -details single -line density = "compact" / >
< v -spacer / >
< v -btn v -if = " isLogged " class = "mr-5" : disabled = "historySelected.length === 0" prepend -icon = " mdi -trash -can -outline " color = "error" variant = "flat" text = "Supprimer" @click ="deleteHistory" / >
< v -btn v -if = " isLogged " class = "mr-5" prepend -icon = " mdi -plus -circle " variant = "outlined" color = "primary" text = "Ajouter" @click ="addHistory" / >
< v -btn v -if = " isLogged " class = "mr-5" : disabled = "historySelected.length === 0" prepend -icon = " mdi -trash -can -outline " color = "error" variant = "flat" size = "small" text = "Supprimer" @click ="deleteHistory" / >
< v -btn v -if = " isLogged " class = "mr-5" prepend -icon = " mdi -plus -circle " variant = "outlined" size = "small" color = "primary" text = "Ajouter" @click ="addHistory" / >
< / v - t o o l b a r >
< / template >
< template # item.name = " { item } " >
@ -155,8 +156,8 @@ const submitDeleteHistory = async () => {
< / v - c a r d - t e x t >
< v -card -actions >
< v -spacer / >
< v -btn prepend -icon = " mdi -cancel " text = "Annuler" variant = "outlined" color = "warning" @click ="cancelAddHistory" / >
< v -btn :loading ="isLoading" prepend -icon = " mdi -content -save -plus -outline " text = "Enregistrer" variant = "outlined" color = "primary" @click ="submitAddHistory" / >
< v -btn prepend -icon = " mdi -cancel " text = "Annuler" variant = "outlined" size = "small" color = "warning" @click ="cancelAddHistory" / >
< v -btn :loading ="isLoading" prepend -icon = " mdi -content -save -plus -outline " text = "Enregistrer" variant = "outlined" size = "small" color = "primary" @click ="submitAddHistory" / >
< / v - c a r d - a c t i o n s >
< / v - c a r d >
< / v - d i a l o g >
@ -169,8 +170,8 @@ const submitDeleteHistory = async () => {
< / v - c a r d - t e x t >
< v -card -actions >
< v -spacer / >
< v -btn prepend -icon = " mdi -cancel " text = "Annuler" variant = "outlined" color = "warning" @click ="cancelDeleteHistory" / >
< v -btn :loading ="isLoading" prepend -icon = " mdi -content -save -plus -outline " text = "Confirmer" variant = "outlined" color = "primary" @click ="submitDeleteHistory" / >
< v -btn prepend -icon = " mdi -cancel " text = "Annuler" variant = "outlined" size = "small" color = "warning" @click ="cancelDeleteHistory" / >
< v -btn :loading ="isLoading" prepend -icon = " mdi -content -save -plus -outline " text = "Confirmer" variant = "outlined" size = "small" color = "primary" @click ="submitDeleteHistory" / >
< / v - c a r d - a c t i o n s >
< / v - c a r d >
< / v - d i a l o g >