Skip to content
Snippets Groups Projects
Commit 5600797d authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Avoid checking UUID at server if app is online

parent 771352bd
Branches release
Tags v1.1.14
No related merge requests found
......@@ -271,7 +271,14 @@ export default {
},
mounted() {
this.CONST_URL_DOMAIN = CommonUtil.CONST_URL_DOMAIN;
this.checkValidUUID();
if(navigator.onLine)
{
this.checkValidUUID();
}
else
{
this.getUserFromStorage();
}
},
};
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment