Fixed icons for Vue... I guess we need to be consistent.
All checks were successful
Docker Deploy / build-and-push (push) Successful in 8m22s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 8m22s
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, onUnmounted } from "vue";
|
||||
import { Icon } from "@iconify/vue";
|
||||
|
||||
const props = defineProps<{
|
||||
initialRunningEntry: {
|
||||
@@ -224,14 +225,16 @@ async function stopTimer() {
|
||||
@click="startTimer"
|
||||
class="btn btn-primary btn-lg min-w-40 shadow-lg shadow-primary/20 hover:shadow-xl hover:shadow-primary/30 transition-all"
|
||||
>
|
||||
▶️ Start Timer
|
||||
<Icon icon="heroicons:play" class="w-5 h-5" />
|
||||
Start Timer
|
||||
</button>
|
||||
<button
|
||||
v-else
|
||||
@click="stopTimer"
|
||||
class="btn btn-error btn-lg min-w-40 shadow-lg shadow-error/20 hover:shadow-xl hover:shadow-error/30 transition-all"
|
||||
>
|
||||
⏹️ Stop Timer
|
||||
<Icon icon="heroicons:stop" class="w-5 h-5" />
|
||||
Stop Timer
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user