From e552b7d041cc65bb620d0330e18851d6e9cf08d3 Mon Sep 17 00:00:00 2001 From: Eldritch-Oliver Date: Sat, 4 Oct 2025 21:18:10 -0600 Subject: [PATCH] Make the logic use an or instead nullish coalesce --- module/Apps/GenericApp.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Apps/GenericApp.mjs b/module/Apps/GenericApp.mjs index 66742a1..0be30e4 100644 --- a/module/Apps/GenericApp.mjs +++ b/module/Apps/GenericApp.mjs @@ -92,7 +92,7 @@ export function GenericAppMixin(HandlebarsApp) { ctx.meta.idp = this.document?.uuid ?? this.id; if (this.document) { ctx.meta.limited = this.document.limited; - ctx.meta.editable = this.isEditable ?? game.user.isGM; + ctx.meta.editable = this.isEditable || game.user.isGM; ctx.meta.embedded = this.document.isEmbedded; }; delete ctx.editable;