From 69d74c700a26df7cbc2dea67f528df0035f720a6 Mon Sep 17 00:00:00 2001 From: Timur Enikeev Date: Thu, 7 Nov 2024 15:20:16 -0500 Subject: [PATCH] Style fix --- src/views/apps/ApplicationFrame.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/apps/ApplicationFrame.vue b/src/views/apps/ApplicationFrame.vue index a847c36..c0be69d 100644 --- a/src/views/apps/ApplicationFrame.vue +++ b/src/views/apps/ApplicationFrame.vue @@ -83,9 +83,9 @@ const getToken = async () => { compareLists(authItem.current_scopes, scopes.value) && (!authItem.expires || new Date(authItem.expires + 'Z') > new Date()) ) { - setupAuth(authItem.token); + setupAuth(authItem.token ?? undefined); const response = await apiClient.GET('/auth/me'); - setupAuth(LocalStorage.get(LocalStorageItem.Token)); + setupAuth(LocalStorage.get(LocalStorageItem.Token) ?? undefined); if (response.response.status === 200) { return authItem.token; }