From 871493bacff3bbf88d9443c9b0563a2d48218424 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 7 Mar 2026 14:47:21 -0700 Subject: [PATCH] Prevent the ghosts of attributes from lingering when deleted (closes #37) --- module/apps/AttributeManager.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/apps/AttributeManager.mjs b/module/apps/AttributeManager.mjs index ac94e19..8c1b504 100644 --- a/module/apps/AttributeManager.mjs +++ b/module/apps/AttributeManager.mjs @@ -136,7 +136,7 @@ export class AttributeManager extends HandlebarsApplicationMixin(ApplicationV2) async _prepareAttributeContext(ctx) { const attrs = []; for (const [id, data] of Object.entries(this.#attributes)) { - if (data == null) { continue }; + if (data == null || data == _del) { continue }; attrs.push({ id, name: data.name,