Dev #11
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
defineProps<{
|
defineProps<{
|
||||||
columns: Array<{ key: string; label: string; align?: 'left' | 'center' | 'right' | string }>
|
columns: Array<{ key: string; label: string; align?: 'left' | 'center' | 'right' | string }>
|
||||||
rows: Record<string, any>[]
|
rows: Record<string, unknown>[]
|
||||||
}>()
|
}>()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ type TabKey = 'lectures' | 'courses' | 'rooms' | 'tags'
|
|||||||
type TabConfig = {
|
type TabConfig = {
|
||||||
title: string
|
title: string
|
||||||
columns: Array<{ key: string; label: string; align?: string }>
|
columns: Array<{ key: string; label: string; align?: string }>
|
||||||
rows: Record<string, any>[]
|
rows: Record<string, unknown>[]
|
||||||
}
|
}
|
||||||
|
|
||||||
const activeTab = ref<TabKey>('lectures')
|
const activeTab = ref<TabKey>('lectures')
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import { useLecturesStore } from '@/stores/lectures'
|
|||||||
import { useAuthStore } from '@/stores/auth'
|
import { useAuthStore } from '@/stores/auth'
|
||||||
import GlassCard from '@/components/ui/GlassCard.vue'
|
import GlassCard from '@/components/ui/GlassCard.vue'
|
||||||
import StatsWidget from '@/components/ui/StatsWidget.vue'
|
import StatsWidget from '@/components/ui/StatsWidget.vue'
|
||||||
import ProgressBar from '@/components/ui/ProgressBar.vue'
|
|
||||||
import EmptyState from '@/components/ui/EmptyState.vue'
|
import EmptyState from '@/components/ui/EmptyState.vue'
|
||||||
|
|
||||||
const lecturesStore = useLecturesStore()
|
const lecturesStore = useLecturesStore()
|
||||||
|
|||||||
Reference in New Issue
Block a user