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:
commit
4d9881db55
1 changed files with 5 additions and 3 deletions
|
|
@ -349,9 +349,11 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
cancelRecording() {
|
cancelRecording() {
|
||||||
|
if(this.recorder) {
|
||||||
this.state = State.INITIAL;
|
this.state = State.INITIAL;
|
||||||
this.recorder.stop();
|
this.recorder.stop();
|
||||||
this.recorder = null;
|
this.recorder = null;
|
||||||
|
}
|
||||||
this.close();
|
this.close();
|
||||||
},
|
},
|
||||||
pauseRecording() {
|
pauseRecording() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue