Merge branch 'audio-recording-close-button-fixes' into 'dev'

before audio recording close button fixes

See merge request keanuapp/keanuapp-weblite!52
This commit is contained in:
N Pex 2022-02-23 12:30:47 +00:00
commit 4d9881db55

View file

@ -349,9 +349,11 @@ export default {
});
},
cancelRecording() {
this.state = State.INITIAL;
this.recorder.stop();
this.recorder = null;
if(this.recorder) {
this.state = State.INITIAL;
this.recorder.stop();
this.recorder = null;
}
this.close();
},
pauseRecording() {