Now only when the user submits the listening exam are the mp3 are uploaded onto firebase bucket
This commit is contained in:
@@ -26,7 +26,8 @@ const defaultSettings = (module: Module) => {
|
||||
case 'listening':
|
||||
return {
|
||||
...baseSettings,
|
||||
isAudioContextOpen: false
|
||||
isAudioContextOpen: false,
|
||||
isAudioGenerationOpen: false,
|
||||
}
|
||||
default:
|
||||
return baseSettings;
|
||||
|
||||
@@ -30,6 +30,7 @@ export interface ReadingSectionSettings extends SectionSettings {
|
||||
|
||||
export interface ListeningSectionSettings extends SectionSettings {
|
||||
isAudioContextOpen: boolean;
|
||||
isAudioGenerationOpen: boolean;
|
||||
}
|
||||
|
||||
export type Generating = "context" | "exercises" | "media" | undefined;
|
||||
|
||||
Reference in New Issue
Block a user