@@ -90,7 +90,6 @@ import SvgIcon from '@/components/icons/SvgIcon.vue'
|
||||
import NoItems from '@/components/blocks/NoItems.vue'
|
||||
import SelectField from '@/components/form/SelectField.vue'
|
||||
import { usePagination } from '@/composables/usePagination'
|
||||
import LineTitleBlock from '@/components/LineTitleBlock.vue'
|
||||
import PaginationBlock from '@/components/blocks/PaginationBlock.vue'
|
||||
import { useAdminTermsListQuery } from '@/services/query/admin-terms'
|
||||
import { useAdminCoursesListQuery } from '@/services/query/admin-courses'
|
||||
|
||||
@@ -125,9 +125,7 @@ const contentType = computed(() => collectionToContentType(contentMedia.value?.c
|
||||
|
||||
const contentTypeLabel = computed(() => COURSE_CONTENT_TYPE[contentType.value] || '—')
|
||||
|
||||
const mediaUrl = computed(
|
||||
() => contentMedia.value?.url || contentMedia.value?.downloadUrl || ''
|
||||
)
|
||||
const mediaUrl = computed(() => contentMedia.value?.url || contentMedia.value?.downloadUrl || '')
|
||||
|
||||
const mediaFileName = computed(() => contentMedia.value?.fileName || 'فایل پیوست')
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user