forked from TWS/kalkutago
fix style of button
This commit is contained in:
parent
4b6d90d3ce
commit
bdb09b33c6
|
@ -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)
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue