Skip to content

Prevent empty table from displaying on landing page #1

@doolin

Description

@doolin

Problem: the landing page displays an empty results table when there is no query to display.

The problem is that the response object is "valid" in the sense that it's not empty?, but when it's not displaying the results of a query, contains the HTML from the redirect coming back from the API server.

The code here needs is part of it: https://github.com/funginstitute/patentview/blob/master/app/views/maps/partials/_table.html.haml#L10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions