ole_name"] === "vendor") {
                    this.$store.currentUser.isVendor = true
                  }
                }
                this.$store.currentUser.roles = roles

              },
              error => {
                toast(error.message, "error");
              }
            );
          },
          clearTenant: function() {
            localStorage.removeItem("selectedTenant")
            localStorage.removeItem("selectedTenantId")
          },
          getFeatureFlags: function() {
