Skip to content

@empty feature #1

@alvarocamo212

Description

@alvarocamo212

I do not know the reason why your have use if/else format (maybe it is cleaner). However, this new @for has an @empty block and it looks suitable for this case

https://angular.dev/guide/templates/control-flow#for-block---repeaters

@if (activities.length >= 0) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions