We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54f7000 commit 0decb09Copy full SHA for 0decb09
src/html-generation/html-generator.ts
@@ -690,12 +690,14 @@ export class HTMLGenerator {
690
title.innerText = brand || 'Invio';
691
header.appendChild(title);
692
693
- let description = usingDocument.createElement('div');
694
- description.classList.add('sidebar-section-header-slogan')
695
- description.innerText = slogan;
696
-
+
697
container.appendChild(header);
698
- container.appendChild(description);
+ if (slogan) {
+ let description = usingDocument.createElement('div');
+ description.classList.add('sidebar-section-header-slogan')
+ description.innerText = slogan;
699
+ container.appendChild(description);
700
+ }
701
return container;
702
}
703
0 commit comments