fix: admin courses
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user