Skip to content

Commit

Permalink
npm run lint + lint fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
hfekete committed Nov 20, 2023
1 parent ce07f28 commit 02278d5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,26 @@
item-value="uuid"
@change="emitSelected"
>
<template v-slot:selection="data">
<template #selection="data">
<!-- HTML that describe how select should render selected items -->
<span v-if="data.item.branchName" data-test="account-authorization-request-selection">{{ data.item.name }} - {{ data.item.branchName }}</span>
<span v-else data-test="account-authorization-request-selection">{{ data.item.name }}</span>
<span
v-if="data.item.branchName"
data-test="account-authorization-request-selection"
>{{ data.item.name }} - {{ data.item.branchName }}</span>
<span
v-else
data-test="account-authorization-request-selection"
>{{ data.item.name }}</span>
</template>
<template v-slot:item="data">
<span v-if="data.item.branchName" data-test="account-authorization-request-option">{{ data.item.name }} - {{ data.item.branchName }}</span>
<span v-else data-test="account-authorization-request-option">{{ data.item.name }}</span>
<template #item="data">
<span
v-if="data.item.branchName"
data-test="account-authorization-request-option"
>{{ data.item.name }} - {{ data.item.branchName }}</span>
<span
v-else
data-test="account-authorization-request-option"
>{{ data.item.name }}</span>
</template>
</v-select>
<span>You can add a message that will be included as part of your authorization request. </span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import Vuetify from 'vuetify'
import { axios } from '@/util/http-util'
import flushPromises from 'flush-promises'
import sinon from 'sinon'
import { expect } from 'vitest'

const vuetify = new Vuetify({})

Expand Down

0 comments on commit 02278d5

Please sign in to comment.