Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webapp console error t.map is not a function #97

Open
mickmister opened this issue May 27, 2022 · 0 comments
Open

Webapp console error t.map is not a function #97

mickmister opened this issue May 27, 2022 · 0 comments
Labels
Type/Bug Something isn't working

Comments

@mickmister
Copy link
Member

An error occurs with the Cloud plugin sometimes on community when opening a profile popover. Here is the minified code snippet that's causing the issue:

 var T, S, w, R = r(7363), O = r.n(R), A = r(7086), N = r.n(A);
        class k extends O().PureComponent {
            componentDidMount() {
                this.props.actions.getCloudUserData(this.props.id)
            }
            render() {
                const t = this.props.installs;
                if (0 === t.length)
                    return null;
                const e = t.map((t=>O().createElement("li", { // Error is happening right here
                    key: t.ID
                }, O().createElement("a", {
                    href: "https://" + t.DNS,
                    target: "_blank",
                    rel: "noopener noreferrer"
                }, t.Name))));
                return O().createElement("div", {
                    style: C.container
                }, O().createElement("div", null, "Cloud Servers"), O().createElement("ul", null, e))
            }
        }
@DHaussermann DHaussermann added Triage Type/Bug Something isn't working labels Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type/Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants