Skip to content

ResourcesWidget: support open-in-new-tab #271

@jusa3

Description

@jusa3

The problem: We can't hardcode the href here because we want to allow the user of the component to set the url.

// ResourcesWidget.tsx
<EuiLink
          href={"#"}
          onClick={(e) => {
            e.preventDefault();
            if (onNavigate) {
              onNavigate(ontologyId || "");
            }
          }}
        >
          {ontologyId}
        </EuiLink>

@rombaum any idea?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions