- nella lista circuiti ora si vedono tutti gli annunci del circuito stesso
This commit is contained in:
@@ -130,6 +130,7 @@ export const costanti = {
|
||||
MAINCARDS: [
|
||||
{
|
||||
visible: true,
|
||||
annuncio: true,
|
||||
title: ' Beni ',
|
||||
subtitle: 'Autoproduzioni, artigianato, cibo, abbigliamento',
|
||||
strsingolo: 'Bene',
|
||||
@@ -146,6 +147,7 @@ export const costanti = {
|
||||
},
|
||||
{
|
||||
visible: true,
|
||||
annuncio: true,
|
||||
strsingolo: 'Servizio',
|
||||
title: 'Servizi',
|
||||
subtitle: 'Competenze, formazione, aiuti, benessere, casa',
|
||||
@@ -162,6 +164,7 @@ export const costanti = {
|
||||
},
|
||||
{
|
||||
visible: true,
|
||||
annuncio: true,
|
||||
title: 'Ospitalità',
|
||||
subtitle: 'Ospitare per brevi periodi, esplora altre città',
|
||||
strsingolo: 'Ospitalità',
|
||||
@@ -192,6 +195,7 @@ export const costanti = {
|
||||
// },
|
||||
{
|
||||
visible: true,
|
||||
annuncio: true,
|
||||
title: 'Eventi',
|
||||
strsingolo: 'Evento',
|
||||
subtitle: 'Mercatini, incontri, conferenze, corsi',
|
||||
|
||||
@@ -4358,17 +4358,13 @@ export const tools = {
|
||||
|
||||
|
||||
SetBit(myval: any, bit: any) {
|
||||
// tslint:disable-next-line:no-bitwise
|
||||
let myvalout = myval
|
||||
myvalout |= bit
|
||||
return myvalout
|
||||
// Utilizza l'operatore OR per abilitare il bit specificato
|
||||
return myval | bit
|
||||
},
|
||||
|
||||
UnSetBit(myval: any, bit: any) {
|
||||
// tslint:disable-next-line:no-bitwise
|
||||
let myvalout = myval
|
||||
myvalout &= ~bit
|
||||
return myvalout
|
||||
// Utilizza l'operatore AND con il complemento per disabilitare il bit specificato
|
||||
return myval & ~bit
|
||||
},
|
||||
|
||||
getUnique(arr: any, comp: any) {
|
||||
@@ -9550,13 +9546,13 @@ export const tools = {
|
||||
try {
|
||||
// Crea un nuovo oggetto URL a partire dall'input
|
||||
const parsedUrl = new URL(url);
|
||||
|
||||
|
||||
// Estrae solo il protocollo, l'host e la porta
|
||||
const { protocol, host } = parsedUrl;
|
||||
|
||||
|
||||
// Ricostruisce il link principale
|
||||
const mainLink = `${host}`;
|
||||
|
||||
|
||||
return mainLink;
|
||||
} catch (error) {
|
||||
console.error('Errore durante l\'elaborazione dell\'URL:', error);
|
||||
|
||||
Reference in New Issue
Block a user