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