mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-11-16 20:01:40 +00:00
fix: missing component in simple table.
This commit is contained in:
@@ -24,8 +24,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { Trash2 } from 'lucide-vue-next';
|
import { Trash2 } from 'lucide-vue-next'
|
||||||
import { defineProps, defineEmits } from 'vue';
|
import { defineProps, defineEmits } from 'vue'
|
||||||
|
import { Button } from '@/components/ui/button'
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
headers: {
|
headers: {
|
||||||
@@ -45,9 +46,9 @@ defineProps({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const emit = defineEmits(['deleteItem']);
|
const emit = defineEmits(['deleteItem'])
|
||||||
|
|
||||||
function deleteItem(item) {
|
function deleteItem(item) {
|
||||||
emit('deleteItem', item);
|
emit('deleteItem', item)
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
Reference in New Issue
Block a user