Abilitazione del BOT
This commit is contained in:
@@ -1654,6 +1654,8 @@ export const colTableSites = [
|
||||
AddCol({ name: 'telegram_bot_name', label_trans: 'sites.telegram_bot_name', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'telegram_support_chat', label_trans: 'sites.telegram_support_chat', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'telegram_key_test', label_trans: 'sites.telegram_key_test', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'load_process_telegram_test', label_trans: 'sites.load_process_telegram_test', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'load_process_telegramt', label_trans: 'sites.load_process_telegram', fieldtype: costanti.FieldType.boolean}),
|
||||
AddCol({
|
||||
name: 'telegram_bot_name_test',
|
||||
label_trans: 'sites.telegram_bot_name_test',
|
||||
|
||||
@@ -238,8 +238,10 @@ export const useProducts = defineStore('Products', {
|
||||
|
||||
let ris = null
|
||||
|
||||
console.log('Ottieni Prodotti')
|
||||
ris = await Api.SendReq('/products', 'POST', { userId: userStore.my._id })
|
||||
.then((res) => {
|
||||
console.log('Prodotti scaricati')
|
||||
if (res.data.products) {
|
||||
this.products = res.data.products
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user