no progress

This commit is contained in:
Saifeddine ALOUI 2023-06-18 18:31:35 +02:00
parent a1c53873bc
commit e5fe5fc29b

View File

@ -230,10 +230,6 @@ export default {
return return
} }
}, },
async unmount_personality(pers) { async unmount_personality(pers) {
if (!pers) { return { 'status': false, 'error': 'no personality - unmount_personality' } } if (!pers) { return { 'status': false, 'error': 'no personality - unmount_personality' } }
@ -246,12 +242,12 @@ export default {
try { try {
this.isLoading = true
const res = await axios.post('/unmount_personality', obj); const res = await axios.post('/unmount_personality', obj);
this.isLoading = false
if (res) { if (res) {
return res.data return res.data
} }
} catch (error) { } catch (error) {
console.log(error.message, 'unmount_personality - settings') console.log(error.message, 'unmount_personality - settings')