From f08f2d7e48bca1a65b4dabca6cd4335c18f24dbc Mon Sep 17 00:00:00 2001 From: joostdecock Date: Wed, 21 Sep 2022 10:15:59 +0200 Subject: [PATCH] feat(core): Add getId to shorthand --- packages/core/src/part.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/part.mjs b/packages/core/src/part.mjs index aba624a33a2..9609e5eab28 100644 --- a/packages/core/src/part.mjs +++ b/packages/core/src/part.mjs @@ -106,6 +106,7 @@ Part.prototype.shorthand = function () { const sa = this.context.settings?.complete ? this.context.settings?.sa || 0 : 0 const shorthand = { complete, + getId: this.getId, hide: this.hide, log: this.context.store.log, macro: this.__macroClosure(),