Privacy Policy

This commit is contained in:
paoloar77
2022-03-12 22:21:40 +01:00
parent 2112938b98
commit 494480765c
14 changed files with 102 additions and 63 deletions

View File

@@ -3357,8 +3357,18 @@ export const tools = {
}
},
localStSetItem(item: string, value : string) {
if (localStorage.getItem('cookie-id') === 'decline')
return null
localStorage.setItem(item, value)
},
setCookie(mytok: any, value: string) {
// console.log('setCookie', mytok, value)
if (localStorage.getItem('cookie-id') === 'decline')
return null
return Cookies.set(mytok, value)
},