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;