From 3365c743f32097c8b2b918117579223bb98ad919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Thu, 2 May 2024 16:22:36 +0300 Subject: [PATCH] disable stackblitz demos --- src/app/showcase/layout/doc/app.code.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/showcase/layout/doc/app.code.component.ts b/src/app/showcase/layout/doc/app.code.component.ts index f7b19537188..68f25e489e5 100644 --- a/src/app/showcase/layout/doc/app.code.component.ts +++ b/src/app/showcase/layout/doc/app.code.component.ts @@ -96,7 +96,7 @@ export class AppCodeComponent { @Input({ transform: booleanAttribute }) hideCodeSandbox: boolean = false; - @Input({ transform: booleanAttribute }) hideStackBlitz: boolean = false; + @Input({ transform: booleanAttribute }) hideStackBlitz: boolean = true; @ViewChild('codeElement') codeElement: ElementRef; @@ -158,7 +158,7 @@ export class AppCodeComponent { if (!str.includes(importModuleStatement)) { let modifiedCodeWithImportsModule = str.replace(/import\s+{[^{}]*}\s+from\s+'[^']+';[\r\n]*/g, (match) => { - if (match.includes('Module') && !match.includes("ReactiveFormsModule")) { + if (match.includes('Module') && !match.includes('ReactiveFormsModule')) { return ''; } return match;