|
|
@ -15,10 +15,10 @@ |
|
|
|
<div class="tiny-consent__main"> |
|
|
|
<ul class="tiny-consent__cookies"> |
|
|
|
<li class="tiny-consent__cookie-group" each={ group in Object.entries(state.cookies) }> |
|
|
|
<header class="tiny-consent__cookie-accordion-header" if={ group[0] === 'default' && group[1].length > 1 } onclick={ () => { handleToogle() }}> |
|
|
|
<header class="tiny-consent__cookie-accordion-header" if={ group[0] === 'default' } onclick={ () => { handleToogle() }}> |
|
|
|
{ state.options.text.title__default } ({ group[1].length }) <span class="tiny-consent__cookie-accordion-header-icon">▲</span> |
|
|
|
</header> |
|
|
|
<div class="tiny-consent__cookie-accordion{ group[0] === 'default' && group[1].length > 1 ? ' tiny-consent__cookie-accordion--active' : '' }"> |
|
|
|
<div class="tiny-consent__cookie-accordion{ group[0] === 'default' ? ' tiny-consent__cookie-accordion--active' : '' }"> |
|
|
|
<div class="tiny-consent__cookie-accordion-inner"> |
|
|
|
<div class="tiny-consent__cookie-wrapper" each={ (cookie, index) in group[1] }> |
|
|
|
<div class="tiny-consent__cookie-content"> |
|
|
|