changes
This commit is contained in:
@@ -3,6 +3,7 @@ import { remove } from "es-toolkit";
|
||||
|
||||
const props = defineProps({
|
||||
imei: Object,
|
||||
deleteable: Boolean,
|
||||
});
|
||||
const { $numtoString, $snackbar } = useNuxtApp();
|
||||
const store = useStore();
|
||||
@@ -35,7 +36,7 @@ function removeFromCart() {
|
||||
</div>
|
||||
<p class="has-text-primary-50 font-medium">{{ $numtoString(imei.variant__price, { hasUnit: true }) }}</p>
|
||||
</div>
|
||||
<div>
|
||||
<div v-if="deleteable">
|
||||
<button
|
||||
@click="removeFromCart"
|
||||
class="button is-danger is-light"
|
||||
|
||||
Reference in New Issue
Block a user