Skip to content

Prevent empty table from displaying on landing page #1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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