From 829989ed888b866fbb0edcae248414a85ea6b70d Mon Sep 17 00:00:00 2001 From: ChaominRuan Date: Sat, 27 Apr 2024 23:10:25 +0800 Subject: [PATCH] fix: error info use tagged template --- lib/features/context-pad/ContextPadProvider.js | 1 - lib/import/BpmnTreeWalker.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/features/context-pad/ContextPadProvider.js b/lib/features/context-pad/ContextPadProvider.js index b33a1b2c69..529d1ae7fe 100644 --- a/lib/features/context-pad/ContextPadProvider.js +++ b/lib/features/context-pad/ContextPadProvider.js @@ -487,7 +487,6 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) { 'bpmn-icon-text-annotation', translate('Add text annotation') ), - 'connect': { group: 'connect', className: 'bpmn-icon-connection-multi', diff --git a/lib/import/BpmnTreeWalker.js b/lib/import/BpmnTreeWalker.js index d908c2d4a2..1287c9bf10 100644 --- a/lib/import/BpmnTreeWalker.js +++ b/lib/import/BpmnTreeWalker.js @@ -80,7 +80,7 @@ export default function BpmnTreeWalker(handler) { // avoid multiple rendering of elements if (gfx) { throw new Error( - 'already rendered ${ elementToString(element) }' + `already rendered ${ elementToString(element) }` ); }