changes
This commit is contained in:
32
app/components/imports/IMEIButton.vue
Normal file
32
app/components/imports/IMEIButton.vue
Normal file
@@ -0,0 +1,32 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user