Skip to content
Snippets Groups Projects
Commit ecb80f6a authored by Ina Martini's avatar Ina Martini
Browse files

chore: run format checks

parent 8d5c15d3
No related branches found
No related tags found
3 merge requests!66Final merge,!42Refactor interactiveSpare to modal,!4Pipeline fix
......@@ -52,10 +52,6 @@ const isSavingAccountValid = computed(() =>
accountNumberRegex.test(profile.value.savingAccount.accNumber?.toString() || '')
)
const openInteractiveSpare = () => {
isModalOpen.value = true // Open the modalReset the flag since the speech will now be displayed
}
const isFormInvalid = computed(
() =>
[
......@@ -215,7 +211,7 @@ const saveChanges = async () => {
:png-size="10"
:speech="['Her kan du endre på profilen din!']"
direction="left"
:isModalOpen="openInteractiveSpare"
:isModalOpen="isModalOpen"
/>
<CardTemplate>
......
......@@ -48,7 +48,6 @@ const welcome = computed(() => {
const openInteractiveSpare = () => {
isModalOpen.value = true
}
</script>
<template>
......@@ -100,13 +99,13 @@ const openInteractiveSpare = () => {
:isModalOpen="isModalOpen"
/>
<div class="flex items-center">
<a @click="openInteractiveSpare" class="hover:bg-transparent z-20">
<img
alt="Spare"
class="scale-x-[-1] md:h-5/6 md:w-5/6 w-2/3 h-2/3 cursor-pointer ml-14 md:ml-10"
src="@/assets/spare.png"
/>
</a>
<a @click="openInteractiveSpare" class="hover:bg-transparent z-20">
<img
alt="Spare"
class="scale-x-[-1] md:h-5/6 md:w-5/6 w-2/3 h-2/3 cursor-pointer ml-14 md:ml-10"
src="@/assets/spare.png"
/>
</a>
</div>
<div class="flex flex-row justify-between mx-4">
<p class="font-bold">Fullførte sparemål</p>
......
......@@ -132,13 +132,13 @@ const completeGoal = () => {
</div>
</div>
<div class="flex items-center">
<a @click="openInteractiveSpare" class="hover:bg-transparent z-20">
<img
alt="Spare"
class="scale-x-[-1] md:h-5/6 md:w-5/6 w-2/3 h-2/3 cursor-pointer ml-14 md:ml-10"
src="@/assets/spare.png"
/>
</a>
<a @click="openInteractiveSpare" class="hover:bg-transparent z-20">
<img
alt="Spare"
class="scale-x-[-1] md:h-5/6 md:w-5/6 w-2/3 h-2/3 cursor-pointer ml-14 md:ml-10"
src="@/assets/spare.png"
/>
</a>
</div>
<InteractiveSpare
:png-size="10"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment