Skip to content

Commit f6e5fc8

Browse files
committed
Fix prettier
1 parent 5472c50 commit f6e5fc8

File tree

2 files changed

+15
-18
lines changed

2 files changed

+15
-18
lines changed

web/pages/billing/index.vue

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -435,11 +435,11 @@
435435
<v-row>
436436
<v-col cols="12">
437437
<v-text-field
438+
v-model="invoiceFormName"
438439
dense
439440
:disabled="loading"
440441
:error="errorMessages.has('name')"
441442
:error-messages="errorMessages.get('name')"
442-
v-model="invoiceFormName"
443443
label="Name"
444444
placeholder="e.g Acme Corporation"
445445
persistent-placeholder
@@ -448,11 +448,11 @@
448448
</v-col>
449449
<v-col cols="12">
450450
<v-text-field
451+
v-model="invoiceFormAddress"
451452
dense
452453
:disabled="loading"
453454
:error="errorMessages.has('address')"
454455
:error-messages="errorMessages.get('address')"
455-
v-model="invoiceFormAddress"
456456
label="Address"
457457
placeholder="e.g 221B Baker Street"
458458
persistent-placeholder
@@ -463,11 +463,11 @@
463463
<v-row>
464464
<v-col cols="6">
465465
<v-text-field
466+
v-model="invoiceFormCity"
466467
dense
467468
:disabled="loading"
468469
:error="errorMessages.has('city')"
469470
:error-messages="errorMessages.get('city')"
470-
v-model="invoiceFormCity"
471471
label="City"
472472
placeholder="e.g Los Angeles"
473473
persistent-placeholder
@@ -477,23 +477,23 @@
477477
<v-col cols="6">
478478
<v-text-field
479479
v-if="invoiceStateOptions.length === 0"
480+
v-model="invoiceFormState"
480481
dense
481482
:disabled="loading"
482483
:error="errorMessages.has('state')"
483484
:error-messages="errorMessages.get('state')"
484-
v-model="invoiceFormState"
485485
label="State"
486486
placeholder="e.g CA"
487487
persistent-placeholder
488488
outlined
489489
></v-text-field>
490490
<v-autocomplete
491491
v-else
492+
v-model="invoiceFormState"
492493
dense
493494
:disabled="loading"
494495
:error="errorMessages.has('state')"
495496
:error-messages="errorMessages.get('state')"
496-
v-model="invoiceFormState"
497497
:items="invoiceStateOptions"
498498
label="State"
499499
outlined
@@ -505,11 +505,11 @@
505505
<v-row>
506506
<v-col cols="6">
507507
<v-text-field
508+
v-model="invoiceFormZipCode"
508509
dense
509510
:disabled="loading"
510511
:error="errorMessages.has('zip_code')"
511512
:error-messages="errorMessages.get('zip_code')"
512-
v-model="invoiceFormZipCode"
513513
label="Zip Code"
514514
placeholder="e.g 46001"
515515
persistent-placeholder
@@ -518,11 +518,11 @@
518518
</v-col>
519519
<v-col cols="6">
520520
<v-autocomplete
521+
v-model="invoiceFormCountry"
521522
dense
522523
:disabled="loading"
523524
:error="errorMessages.has('country')"
524525
:error-messages="errorMessages.get('country')"
525-
v-model="invoiceFormCountry"
526526
:items="countries"
527527
label="Country"
528528
placeholder="e.g United States"
@@ -534,12 +534,12 @@
534534
<v-row>
535535
<v-col cols="12">
536536
<v-textarea
537+
v-model="invoiceFormNotes"
537538
dense
538539
:disabled="loading"
539540
:error="errorMessages.has('notes')"
540541
:error-messages="errorMessages.get('notes')"
541542
rows="3"
542-
v-model="invoiceFormNotes"
543543
label="Notes (optional)"
544544
placeholder="e.g Thanks for doing business with us!"
545545
persistent-placeholder
@@ -586,11 +586,9 @@ import {
586586
} from '@mdi/js'
587587
import {
588588
RequestsUserPaymentInvoice,
589-
ResponsesUnprocessableEntity,
590589
ResponsesUserSubscriptionPaymentsResponse,
591590
} from '~/models/api'
592-
import { ErrorMessages, getErrorMessages } from '~/plugins/errors'
593-
import { AxiosError } from 'axios'
591+
import { ErrorMessages } from '~/plugins/errors'
594592
595593
type PaymentPlan = {
596594
name: string
@@ -1115,7 +1113,7 @@ export default Vue.extend({
11151113
this.loading = true
11161114
this.$store
11171115
.dispatch('generateSubscriptionPaymentInvoice', {
1118-
subscriptionInvoiceId: this.selectedPayment?.id!,
1116+
subscriptionInvoiceId: this.selectedPayment?.id || '',
11191117
request: {
11201118
name: this.invoiceFormName,
11211119
address: this.invoiceFormAddress,
@@ -1133,7 +1131,6 @@ export default Vue.extend({
11331131
this.subscriptionInvoiceDialog = false
11341132
})
11351133
.catch((error: ErrorMessages) => {
1136-
console.log(error)
11371134
this.errorMessages = error
11381135
})
11391136
.finally(() => {

web/pages/index.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ Console.WriteLine(await response.Content.ReadAsStringAsync());
682682
tick-size="4"
683683
tick
684684
>
685-
<template v-slot:thumb-label>
685+
<template #thumb-label>
686686
{{ pricingLabels[pricing] }}
687687
</template>
688688
</v-slider>
@@ -951,7 +951,7 @@ Console.WriteLine(await response.Content.ReadAsStringAsync());
951951
<v-expansion-panel>
952952
<v-expansion-panel-header class="text-h6">
953953
Can I install the app on my Iphone?
954-
<template v-slot:actions>
954+
<template #actions>
955955
<v-icon v-if="faqPanel === 0">{{ mdiMinus }}</v-icon>
956956
<v-icon v-else>{{ mdiPlus }}</v-icon>
957957
</template>
@@ -967,7 +967,7 @@ Console.WriteLine(await response.Content.ReadAsStringAsync());
967967
<v-expansion-panel>
968968
<v-expansion-panel-header class="text-h6">
969969
What's the minimum supported Android version?
970-
<template v-slot:actions>
970+
<template #actions>
971971
<v-icon v-if="faqPanel === 1">{{ mdiMinus }}</v-icon>
972972
<v-icon v-else>{{ mdiPlus }}</v-icon>
973973
</template>
@@ -983,7 +983,7 @@ Console.WriteLine(await response.Content.ReadAsStringAsync());
983983
<v-expansion-panel>
984984
<v-expansion-panel-header class="text-h6">
985985
Can I send unlimited number of messages per month?
986-
<template v-slot:actions>
986+
<template #actions>
987987
<v-icon v-if="faqPanel === 2">{{ mdiMinus }}</v-icon>
988988
<v-icon v-else>{{ mdiPlus }}</v-icon>
989989
</template>
@@ -1001,7 +1001,7 @@ Console.WriteLine(await response.Content.ReadAsStringAsync());
10011001
<v-expansion-panel>
10021002
<v-expansion-panel-header class="text-h6">
10031003
Can I change the sender of the SMS message
1004-
<template v-slot:actions>
1004+
<template #actions>
10051005
<v-icon v-if="faqPanel === 3">{{ mdiMinus }}</v-icon>
10061006
<v-icon v-else>{{ mdiPlus }}</v-icon>
10071007
</template>

0 commit comments

Comments
 (0)