Skip to content

Commit

Permalink
fix: cookie control button ux
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed Apr 23, 2024
1 parent 13c4655 commit 6c1b90d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/CookieControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const open = ref(cookiesState.value === null);
block
color="red"
class="flex-1"
:disabled="cookiesState === false"
:variant="cookiesState === false ? 'soft' : 'solid'"
@click="
cookiesState = false;
open = false;
Expand All @@ -81,7 +81,7 @@ const open = ref(cookiesState.value === null);
block
color="green"
class="flex-1"
:disabled="cookiesState === true"
:variant="cookiesState === true ? 'soft' : 'solid'"
@click="
cookiesState = true;
open = false;
Expand Down

0 comments on commit 6c1b90d

Please sign in to comment.