From 60d4e0d9071ae7c80911234ea1937da4e6a06e7c Mon Sep 17 00:00:00 2001 From: ijungleboy Date: Fri, 11 Nov 2022 17:44:34 +0100 Subject: [PATCH] minor --- .../template-picker/data/content-types-processor.service.ts | 6 +++--- .../src/app/template-picker/template-picker.component.ts | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/projects/quick-dialog/src/app/template-picker/data/content-types-processor.service.ts b/projects/quick-dialog/src/app/template-picker/data/content-types-processor.service.ts index f9684191e..f28d08370 100644 --- a/projects/quick-dialog/src/app/template-picker/data/content-types-processor.service.ts +++ b/projects/quick-dialog/src/app/template-picker/data/content-types-processor.service.ts @@ -33,9 +33,9 @@ export class ContentTypesProcessor { * Ensure current content-type is visible, just in case it's configured as hidden */ private unhideSelectedType(contentTypes: ContentType[], currentType: ContentType, currentTemplate: Template): ContentType[] { - console.log('2dm before', JSON.parse(JSON.stringify(contentTypes))); - console.log('2dm current T', currentTemplate?.TemplateId); - console.log('2dm currentType Static', currentType?.StaticName); + // console.log('2dm before', JSON.parse(JSON.stringify(contentTypes))); + // console.log('2dm current T', currentTemplate?.TemplateId); + // console.log('2dm currentType Static', currentType?.StaticName); contentTypes // 2022-11-04 2dm disabled, think it's never used // 2022-11-11 trying to fix another issue.... diff --git a/projects/quick-dialog/src/app/template-picker/template-picker.component.ts b/projects/quick-dialog/src/app/template-picker/template-picker.component.ts index 5f07454cf..c1c6f249a 100644 --- a/projects/quick-dialog/src/app/template-picker/template-picker.component.ts +++ b/projects/quick-dialog/src/app/template-picker/template-picker.component.ts @@ -1,4 +1,3 @@ - import { ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { App } from 'app/core/app'; import { BehaviorObservable } from 'app/core/behavior-observable'; @@ -19,7 +18,7 @@ const log = parentLog.subLog('picker', DebugConfig.picker.enabled); const nameofTPC = nameofFactory(); -const debug = true; +const debug = false; @Component({ selector: 'app-template-picker',