- Aggiornati margini.
- Cataloghi: Export ed Import di una pagine ed i suoi elementi !
This commit is contained in:
@@ -1926,6 +1926,10 @@ export const useUserStore = defineStore('UserStore', {
|
||||
},
|
||||
|
||||
async importToServerCmd($q: any, t: any, cmd: number, data: any, recorddaimportare: boolean = false) {
|
||||
$q.loading.show({
|
||||
message: 'Importazione in corso, attendere ...'
|
||||
})
|
||||
|
||||
return Api.SendReq('/admin/import', 'POST', { cmd, data })
|
||||
.then((res: any) => {
|
||||
if (res) {
|
||||
@@ -1953,7 +1957,9 @@ export const useUserStore = defineStore('UserStore', {
|
||||
}
|
||||
|
||||
}
|
||||
$q.loading.hide()
|
||||
}).catch((error) => {
|
||||
$q.loading.hide()
|
||||
tools.showNegativeNotif($q, t('db.recfailed'))
|
||||
return {}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user