diff --git a/plugins/card-resources/src/card.ts b/plugins/card-resources/src/card.ts index 7d6758f770a..a3bc20ca141 100644 --- a/plugins/card-resources/src/card.ts +++ b/plugins/card-resources/src/card.ts @@ -22,7 +22,6 @@ export async function getCardSections (card: Card): Promise { const sections: CardSection[] = client .getModel() .findAllSync(cardPlugin.class.CardSection, {}) - .filter((it) => it._id !== communication.ids.CardMessagesSection) .sort((a, b) => a.order - b.order) const res: CardSection[] = [] @@ -69,14 +68,5 @@ export function getCardToc (sections: CardSection[], tocBySection: Record