fix NewRoom popup

This commit is contained in:
adb 2021-06-08 22:18:32 +02:00
parent eb259bbdae
commit 9b2b5b8bb9

View File

@ -120,10 +120,10 @@ export default {
}); });
}, },
setShowCreateRoom(props, callback=()=>{}){ setShowCreateRoom(props, callback=()=>{}){
this.createRoom = { this.showCreateRoom = {
props, props,
callback:(res)=>{ callback:(res)=>{
this.createRoom = {}; this.showCreateRoom = {};
if (res) callback(res); if (res) callback(res);
} }
} }