From 121f9cd42c36bc48b4c6f1fa477d9a956870a141 Mon Sep 17 00:00:00 2001 From: Martin Stamm Date: Fri, 1 Dec 2023 15:46:06 +0100 Subject: [PATCH] chore(Conditions): fix typo --- .../ElementTemplatesConditionChecker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cloud-element-templates/ElementTemplatesConditionChecker.js b/src/cloud-element-templates/ElementTemplatesConditionChecker.js index 7cbca76..e0fa22d 100644 --- a/src/cloud-element-templates/ElementTemplatesConditionChecker.js +++ b/src/cloud-element-templates/ElementTemplatesConditionChecker.js @@ -36,10 +36,10 @@ export default class ElementTemplatesConditionChecker extends CommandInterceptor // Apply Conditions before changing properties. This persists the template so we can check if conditions apply // after upgrading the template. - this.preExecute([ 'propertiesPanel.zeebe.changeTemplate' ], HIGH_PRIORITY, this._applyCondtions , true, this); + this.preExecute([ 'propertiesPanel.zeebe.changeTemplate' ], HIGH_PRIORITY, this._handleTemplateUpgrade, true, this); } - _applyCondtions(context) { + _handleTemplateUpgrade(context) { const { element, newTemplate