Files
web/app/components/imports/IMEIButton.vue
2026-05-14 15:37:58 +07:00

33 lines
569 B
Vue

<script setup>
const props = defineProps({
variant: Object,
});
const showModal = ref(null);
</script>
<template>
<button
@click="
showModal = {
component: 'imports/IMEIs',
title: 'IMEIs',
width: '80%',
height: '400px',
vbind: { variant: props.variant },
}
"
class="button is-small is-primary is-ghost"
>
<span class="icon">
<Icon
name="mdi:launch"
:size="22"
/>
</span>
</button>
<Modal
v-bind="showModal"
@close="showModal = null"
/>
</template>