From e638e54b81c85c1a3958e8e1387ff131664f8982 Mon Sep 17 00:00:00 2001
From: Robert-K <34353377+Robert-K@users.noreply.github.com>
Date: Wed, 22 Jan 2020 18:15:52 +0100
Subject: [PATCH] FIX: Parent_login_name not null anymore

---
 frontend/src/views/netdb/tokens.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/src/views/netdb/tokens.vue b/frontend/src/views/netdb/tokens.vue
index 2507f6df9..433e463b8 100644
--- a/frontend/src/views/netdb/tokens.vue
+++ b/frontend/src/views/netdb/tokens.vue
@@ -371,7 +371,7 @@
         },
         methods: {
             fetchData() {
-                AccountTokenService.list(this.$store.state.netdb_axios_config, this.$store.state.login_name).then((response) => {
+                AccountTokenService.list(this.$store.state.netdb_axios_config, this.$store.state.user.login_name).then((response) => {
                     this.tokens_by_account = ApiUtil.dict_of_lists_by_value_of_array(response.data[1], 'login_name')
                     this.accounts = response.data[0]
                 })
-- 
GitLab