From 0e6546b8303192714b32bd6cba5b37265777a0d3 Mon Sep 17 00:00:00 2001 From: Justin Greywolf Date: Thu, 30 Nov 2023 06:22:05 -0800 Subject: [PATCH] remove the forced uppercase in compare --- packages/office/src/lib/client/clientApi/PowerPointService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/office/src/lib/client/clientApi/PowerPointService.ts b/packages/office/src/lib/client/clientApi/PowerPointService.ts index 0265b0c..856a8f7 100644 --- a/packages/office/src/lib/client/clientApi/PowerPointService.ts +++ b/packages/office/src/lib/client/clientApi/PowerPointService.ts @@ -59,7 +59,7 @@ export class PowerPointService extends OfficeService { for (let tagIndex = 0; tagIndex < tags.items.length; tagIndex++) { const currentTag = tags.items[tagIndex]; - if (currentTag.key === C.TokenSettingName.toUpperCase()) { + if (currentTag.key === C.TokenSettingName) { currentShape.delete(); await this.replaceExistingDiagram(currentTag.value); }