fix: admin courses

This commit is contained in:
sajjadtalkhabi
2026-05-27 14:47:19 +03:30
parent 7eb2984f5e
commit cb86920015
50 changed files with 787 additions and 649 deletions
@@ -92,6 +92,7 @@ const props = defineProps({
maxSeconds: { type: Number, default: 120 },
context: { type: String, default: 'verification' },
subType: { type: String, default: '' },
purpose: { type: String, default: '' },
error: { type: String, default: '' },
})
@@ -191,6 +192,7 @@ const handleStop = async () => {
file,
subType: props.subType || props.kind,
context: props.context,
...(props.purpose ? { purpose: props.purpose } : {}),
})
const response = await uploadMutation.mutateAsync(fd)
const payload = response?.data ?? response
@@ -276,7 +278,6 @@ onBeforeUnmount(() => {
}
&__media--audio {
width: 100%;
height: 2.5rem;
background: transparent;
position: absolute;