fix style of button

This commit is contained in:
D. Scott Boggs 2023-06-15 11:21:04 -04:00
parent 4b6d90d3ce
commit bdb09b33c6
2 changed files with 2 additions and 4 deletions

View file

@ -28,8 +28,6 @@ const ONE_DAY_MS = 86_400_000
const dates = [...Array(60).keys()]
.map(n => new Date(today.valueOf() - (n * ONE_DAY_MS)))
console.log(dates)
// The date as a string like 2023-06-11
function dateString(date: Date) {
return date.toISOString().substring(0, 10)

View file

@ -1,9 +1,9 @@
<template>
<button :class="className()">{{ props.isSet ? "x" : "\u{A0}" }}</button>
<button :class="className()"></button>
</template>
<script setup lang="ts">
const props = defineProps<{ isSet: boolean }>()
const className = () => props.isSet ? "is-rounded is-info" : "is-rounded"
const className = () => props.isSet ? "button is-rounded is-info" : "button is-rounded"
</script>