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() { cancelRecording() {
this.state = State.INITIAL; if(this.recorder) {
this.recorder.stop(); this.state = State.INITIAL;
this.recorder = null; this.recorder.stop();
this.recorder = null;
}
this.close(); this.close();
}, },
pauseRecording() { pauseRecording() {