- add set cookies to table

- fix filters
This commit is contained in:
Paolo Arena
2021-12-16 10:56:57 +01:00
parent 48297094ae
commit c6e0c23650
16 changed files with 496 additions and 214 deletions

View File

@@ -50,6 +50,8 @@ export const tools = {
TABBED_HOME: 't-home',
TABBED_NAVE: 't-nave',
COOK_SEARCH: 'SEARCH_',
getprefCountries: ['it', 'es', 'us'],
APORTADOR_NONE: '------',
@@ -3276,7 +3278,7 @@ export const tools = {
},
getCookie(mytok: any, def?: any) {
const ris = Cookies.get(mytok)
// console.log('getCookie', ris)
console.log('getCookie', mytok, ris)
if (!!ris) {
return ris
} else {
@@ -3285,6 +3287,7 @@ export const tools = {
},
setCookie(mytok: any, value: string) {
console.log('setCookie', mytok, value)
return Cookies.set(mytok, value)
},