Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

MatTable «Table retrieving data through HTTP» example bug #409

@albenik

Description

@albenik

https://material.angular.io/components/table/examples

Then running «Table retrieving data through HTTP» example code, the first api call to GitHub is wrong.
It's looks https://api.github.com/search/issuesq=repo:angular/material2&sort=undefined&order=&page=1 instead of expected https://api.github.com/search/issuesq=repo:angular/material2&sort=created&order=asc&page=1

(sort and order params undefined)

to fix just move intialization code of TableHttpExample component from ngOnInit() to ngAfterViewInit() method

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