File tree 4 files changed +2832
-3011
lines changed
4 files changed +2832
-3011
lines changed Original file line number Diff line number Diff line change 1
- v20.9 .0
1
+ v20.11 .0
Original file line number Diff line number Diff line change 58
58
-->
59
59
<slot name =" qty" :line =" line" v-if =" amount.total >= 0" >
60
60
<div class =" label" >
61
- {{ $ t('cart.line.quantity') }}
61
+ {{ t('cart.line.quantity') }}
62
62
<span v-if =" readonly === true" >{{ line?.qty }}</span >
63
63
</div >
64
64
<div class =" value" >
78
78
v-if =" !readonly"
79
79
type =" button"
80
80
class =" btn btn-link btn-xs p-0 text-xs"
81
- :title =" $ t('cart.line.delete')"
81
+ :title =" t('cart.line.delete')"
82
82
@click =" deleteLine"
83
83
>
84
84
<icon name =" remove" class =" text-xl" />
85
- {{ $ t('cart.line.delete') }}
85
+ {{ t('cart.line.delete') }}
86
86
</button >
87
87
</div >
88
88
93
93
-->
94
94
<slot name =" price" :line =" line" >
95
95
<div class =" label" >
96
- {{ $ t('cart.line.total') }}
96
+ {{ t('cart.line.total') }}
97
97
</div >
98
98
<div class =" value" >
99
99
<div v-if =" line.amount.discountTotal !== 0" class =" price__original" >
@@ -159,9 +159,11 @@ export default defineNuxtComponent({
159
159
},
160
160
setup() {
161
161
const localePath = useLocalePath ()
162
+ const { t } = useI18n ()
162
163
return {
163
164
localePath ,
164
- formatCurrency
165
+ formatCurrency ,
166
+ t
165
167
}
166
168
},
167
169
computed: {
Original file line number Diff line number Diff line change 51
51
"eslint" : " ^9.4.0" ,
52
52
"eslint-config-prettier" : " ^9.1.0" ,
53
53
"eslint-plugin-prettier" : " ^5.1.3" ,
54
- "nuxt" : " ^3.12.4 " ,
54
+ "nuxt" : " ^3.14.159 " ,
55
55
"nuxt-delay-hydration" : " ^1.3.5" ,
56
56
"nuxt-schema-org" : " ^3.3.8" ,
57
57
"prettier" : " ^3.3.2" ,
You can’t perform that action at this time.
0 commit comments