Skip to content

Pagination correction #13

@AdditionAddict

Description

@AdditionAddict

At end of chapter 7 the app has undesirable behavior that on 'Home' selecting page 4 and then changing categories leaves no products showing. Suggested improvement below to store.component.ts

    changeCategory(newCategory?: string) {
        this.selectedCategory = newCategory
        this.changePage(1); 
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions