Skip to content

Commit

Permalink
partially implemented RequirePending component
Browse files Browse the repository at this point in the history
  • Loading branch information
KishinZW committed Jun 16, 2024
1 parent e82b6ed commit 3d0b607
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
10 changes: 10 additions & 0 deletions components/RequirePending.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<template>
<slots />
</template>

<script setup lang="ts">
import { useSlots } from 'vue';
const { isPending } = defineProps({ isPending: Boolean });
const slots = useSlots();
</script>
10 changes: 9 additions & 1 deletion pages/device.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,15 @@
</template>

<script setup lang="ts">
import { Activity, CreditCard, DollarSign, Loader2, Pencil, Users } from 'lucide-vue-next';
import {
Activity,
CreditCard,
DollarSign,
Loader2,
Pencil,
Trash2,
Users,
} from 'lucide-vue-next';
import { toast } from 'vue-sonner';
import {
Dialog,
Expand Down

0 comments on commit 3d0b607

Please sign in to comment.