Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Kaggl committed Feb 22, 2024
2 parents 523488b + a84bd7f commit 593685b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions components/indicator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ defineProps<{

<template>
<div class="flex gap-1 rounded border p-2">
<div :class="status === 'red' && 'bg-red-500'" class="h-6 w-6 rounded-full bg-slate-300" />
<div :class="status === 'red' ? 'bg-red-500' : 'bg-slate-300'" class="h-6 w-6 rounded-full" />
<div
:class="status === 'yellow' && 'bg-yellow-500'"
class="h-6 w-6 rounded-full bg-slate-300"
:class="status === 'yellow' ? 'bg-yellow-500' : 'bg-slate-300'"
class="h-6 w-6 rounded-full"
/>
<div
:class="status === 'green' ? 'bg-green-500' : 'bg-slate-300'"
class="h-6 w-6 rounded-full"
/>
<div :class="status === 'green' && 'bg-green-500'" class="h-6 w-6 rounded-full bg-slate-300" />
</div>
</template>

0 comments on commit 593685b

Please sign in to comment.