diff --git a/Client/src/app/components/popups/add-sermon-popup/add-sermon-popup.component.ts b/Client/src/app/components/popups/add-sermon-popup/add-sermon-popup.component.ts index 788a8dd..81ffd16 100644 --- a/Client/src/app/components/popups/add-sermon-popup/add-sermon-popup.component.ts +++ b/Client/src/app/components/popups/add-sermon-popup/add-sermon-popup.component.ts @@ -88,7 +88,8 @@ export class AddSermonPopupComponent implements OnInit { if (this.sermonFile == null){ this.errorMessages.push("Please add a sermon MP3 file"); } - if (this.sermonFile != null && this.sermonFile.type != 'audio/mp3'){ + if (this.sermonFile != null && this.sermonFile.type != 'audio/mpeg'){ + this.errorMessages.push("File must be a MP3"); } if (this.errorMessages.length > 0){ this.updateAddButton(true); return; }