Skip to content

Добавить вопрос про каскадные computed, в чем проблема #41

Description

@splincode
   protected readonly triggerTabComments = computed(() =>
        this.allComments().filter((comment) => comment.isTrigger),
    );

    protected readonly otherTabComments = computed(() =>
        this.allComments().filter((comment) => !comment.isTrigger),
    );

    protected readonly allTabComments = computed(() =>
        this.hasTriggers() ? this.otherTabComments() : this.allComments(),
    );

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