From 8c6ab3dc7f24a76020a93c318d9c5e52802dedbf Mon Sep 17 00:00:00 2001 From: Brandon Jordan Date: Thu, 30 Nov 2023 21:16:25 -0500 Subject: [PATCH] Tie rendering inputs to meta config --- src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 9062337..7ba04d2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -166,7 +166,9 @@ export class ShortcutPreview { containers = []; containers.push(container); - renderInputs(this.data); + if (this.meta) { + renderInputs(this.data); + } if (this.data.WFWorkflowActions && this.data.WFWorkflowActions.length !== 0) { renderShortcut(this.data.WFWorkflowActions);