Skip to content

Commit 2283a61

Browse files
committed
Fix infinite loading
1 parent e29354f commit 2283a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ fetch('config.json').then(response => response.json()).then(async config => {
7070
let accountid = null
7171
let domainid = null
7272

73-
if (userid !== undefined) {
73+
if (userid !== undefined && Cookies.get('sessionkey')) {
7474
await api('listUsers', { userid: userid }).then(response => {
7575
accountid = response.listusersresponse.user[0].accountid
7676
domainid = response.listusersresponse.user[0].domainid

0 commit comments

Comments
 (0)