- Versione 1.0.28
- Bottone "Condividi" permette di creare un post Telegram con l'annuncio selezionato. - migliorata grafica dell'annuncio.
This commit is contained in:
@@ -7376,6 +7376,25 @@ export const tools = {
|
||||
return this.sendMsgTelegram($q, $t, mydata, showmsgsent)
|
||||
},
|
||||
|
||||
async sendMsgAnnuncioToTelegramCmd($q: any, $t: any, tablerec: string, idrec: string) {
|
||||
const userStore = useUserStore()
|
||||
|
||||
let showmsgsent = false
|
||||
|
||||
let mydata: IMsgGlobParam = {
|
||||
typemsg: shared_consts.TypeMsg.SEND_TO_MYSELF,
|
||||
typesend: shared_consts.TypeSend.TELEGRAM,
|
||||
cmd: shared_consts.MsgTeleg.SHARE_ANNUNCIO,
|
||||
tablerec,
|
||||
idrec,
|
||||
idapp: tools.appid(),
|
||||
}
|
||||
|
||||
// tools.copyStringToClipboard($q, link, true)
|
||||
|
||||
return this.sendMsgTelegram($q, $t, mydata, showmsgsent)
|
||||
},
|
||||
|
||||
getFieldSearchByTable(mytable: string, tablejoin: string, field: string) {
|
||||
let ris = field
|
||||
if (mytable === 'users') {
|
||||
@@ -8425,6 +8444,12 @@ export const tools = {
|
||||
}
|
||||
},
|
||||
|
||||
openUrl(url: string) {
|
||||
|
||||
window.open(url, '_blank');
|
||||
|
||||
}
|
||||
|
||||
// FINE !
|
||||
|
||||
// getLocale() {
|
||||
|
||||
Reference in New Issue
Block a user