From c9c2db18476cc2c59cc3a1dedde29689521fd1d2 Mon Sep 17 00:00:00 2001 From: Alex Komoroske Date: Sat, 30 Mar 2024 15:55:19 -0700 Subject: [PATCH] Start rednering tags that are on cards. Subtle is backwards. Part of #174. Part of #688. --- src/components/multi-edit-dialog.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/components/multi-edit-dialog.ts b/src/components/multi-edit-dialog.ts index 6eb4cfa6..4ee706a4 100644 --- a/src/components/multi-edit-dialog.ts +++ b/src/components/multi-edit-dialog.ts @@ -41,7 +41,8 @@ import { selectMultiEditRemoveTags, selectMultiEditCardDiff, selectSelectedCardsTagsUnion, - selectSelectedCardsTagsIntersection + selectSelectedCardsTagsIntersection, + selectTags } from '../selectors.js'; import { @@ -100,6 +101,9 @@ class MultiEditDialog extends connect(store)(DialogElement) { @state() _cardTagInfos: TagInfos; + @state() + _tagInfos : TagInfos; + @state() _referencesDiff: ReferencesEntriesDiff; @@ -176,6 +180,15 @@ class MultiEditDialog extends connect(store)(DialogElement) { `; })} + + + ${Object.values(this._diff).length ? html`

Changes that will be made to selected cards

` : ''}