Skip to content

Ch 10 in "cartDetail.component.html", button will be disabled when there is no connectivity. #19

@Sammygracezhu

Description

@Sammygracezhu

You want to disable the "checkout" button when there is no connectivity, for line 66 so I think it should be
[disabled]="cart.lines.length == 0 || !connected">

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions