Make sure welcome header can be closed

This commit is contained in:
N-Pex 2023-11-15 16:00:59 +01:00
parent dd22ae45b7
commit a2ef05b3a0

View file

@ -1848,7 +1848,7 @@ export default {
}, },
closeCreateRoomWelcomeHeader() { closeCreateRoomWelcomeHeader() {
this.hideCreatedRoomWelcomeHeader = false; this.hideCreatedRoomWelcomeHeader = true;
this.$nextTick(() => { this.$nextTick(() => {
// We change the layout when removing the welcome header, so call // We change the layout when removing the welcome header, so call
// onScroll here to handle updates (e.g. remove the "scroll to last" if we now // onScroll here to handle updates (e.g. remove the "scroll to last" if we now