From 43f8af1a681f1dcf8b83de76ef8ed71de7b15014 Mon Sep 17 00:00:00 2001 From: VijayalakshmiSF4471 <164475295+VijayalakshmirSF4471@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:43:56 +0530 Subject: [PATCH] feature(402661): corrected Text format enum --- .../components/workflow-sidebar/workflow-sidebar.component.ts | 2 +- src/app/models/enum.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/workflow-sidebar/workflow-sidebar.component.ts b/src/app/components/workflow-sidebar/workflow-sidebar.component.ts index ad5f56b..6c9f686 100644 --- a/src/app/components/workflow-sidebar/workflow-sidebar.component.ts +++ b/src/app/components/workflow-sidebar/workflow-sidebar.component.ts @@ -57,7 +57,7 @@ export class WorkflowSidebarComponent { textFormatDDLOptions: Array<{ text: string, value: number }>; ddlTextFormatFields: Object = { text: 'text', value: 'value' }; - public value = 2; + public value = 1; @Input() nodeEditType!: number; @Input() nodeBlockType!: number; diff --git a/src/app/models/enum.ts b/src/app/models/enum.ts index 04ebc59..dbfc67f 100644 --- a/src/app/models/enum.ts +++ b/src/app/models/enum.ts @@ -1,6 +1,6 @@ export enum TextFormatEnum { - Text = 2, - Html = 1, + Text = 1, + Html = 2, Markdown = 3 }