$store.currentUser.isAdmin= false
                this.$store.currentUser.isVendor = false
                let roles = []
                for(const item in data) {
                  if (data[item]["enabled"]) {
                    roles.push(data[item]["role_name"])
                  }
                  if (data[item]["enabled"] && data[item]["role_name"] === "admin") {
                    this.$store.currentUser.isAdmin = true
                  }
                  if (data[item]["enabled"] && data[item]["r