Prevent stopping execution.

This commit is contained in:
2020-06-14 13:36:56 +02:00
committed by KevinMidboe
parent a84441078c
commit efb5dfcd3e

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) {