Refactor/chat history #17

Merged
KevinMidboe merged 4 commits from refactor/chat-history into master 2020-06-26 11:28:59 +00:00
Showing only changes of commit efb5dfcd3e - Show all commits

View File

@@ -82,12 +82,11 @@ export default {
},
mounted() {
let username = window.localStorage.getItem("username");
if (!username) {
return;
if (username) {
this.username = username;
this.usernameSet = true;
this.$emit("username", username);
}
this.username = username;
this.usernameSet = true;
this.$emit("username", username);
},
methods: {
pad: function(num) {