Skip to content

Commit

Permalink
Update selenium script to .mjs extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Erwan Dano authored and Erwan Dano committed Mar 25, 2024
1 parent 3c9ad42 commit a51810d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
21 changes: 11 additions & 10 deletions src/components/bank/BeneficiarySelection.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<script setup lang="ts">
import { ref } from 'vue'
import { ref } from "vue";
const props = defineProps<{
beneficiaries: string[]
}>()
beneficiaries: string[];
}>();
const emits = defineEmits(['selectBeneficiary'])
const open = ref(false)
const selectedBeneficiary = ref<string | null>(null)
const emits = defineEmits(["selectBeneficiary"]);
const open = ref(false);
const selectedBeneficiary = ref<string | null>(null);
function selectBeneficiary(beneficiary: string) {
selectedBeneficiary.value = beneficiary
open.value = false
emits('selectBeneficiary', beneficiary)
selectedBeneficiary.value = beneficiary;
open.value = false;
emits("selectBeneficiary", beneficiary);
}
</script>

Expand All @@ -22,7 +22,7 @@ function selectBeneficiary(beneficiary: string) {
<input type="checkbox" v-model="open" />
<div class="collapse-title font-medium">
<div v-if="selectedBeneficiary === null">
{{ $t('bank.transfer.selectReceivingAccount') }}
{{ $t("bank.transfer.selectReceivingAccount") }}
</div>
<div v-else class="text-primary">
{{ selectedBeneficiary }}
Expand All @@ -32,6 +32,7 @@ function selectBeneficiary(beneficiary: string) {
<hr />
<div v-for="beneficiary in props.beneficiaries" v-bind:key="beneficiary">
<div
:id="beneficiary"
class="px-4 hover:cursor-pointer hover:bg-base-200 text-primary py-4"
@click="selectBeneficiary(beneficiary)"
>
Expand Down

0 comments on commit a51810d

Please sign in to comment.