diff --git a/src/views/Info.vue b/src/views/Info.vue index fe01d2e..e02f602 100644 --- a/src/views/Info.vue +++ b/src/views/Info.vue @@ -154,7 +154,7 @@ export default { openFaaS: {} }, data: () => ({ - user: localStorage["user"], + user: (localStorage.getItem("user")?localStorage.getItem("user"): JSON.parse(localStorage.getItem("session")).user.info.name ), accessKey:localStorage["accessKey"], api:localStorage["api"], endpoint:localStorage["endpoint"],