From d99ceba49cdbcbecb06cd39c50a7f73f4d2fb77d Mon Sep 17 00:00:00 2001 From: Mrinmoy Date: Sun, 2 May 2021 13:55:50 -0700 Subject: [PATCH] improve error message display for rapidoc-mini --- src/templates/main-body-template.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/templates/main-body-template.js b/src/templates/main-body-template.js index b996ca34..3acdd264 100644 --- a/src/templates/main-body-template.js +++ b/src/templates/main-body-template.js @@ -30,14 +30,12 @@ export default function mainBodyTemplate(isMini = false, showExpandCollapse = tr }; /* eslint-disable indent */ if (this.resolvedSpec.specLoadError) { - /* if (isMini) { return html` ${this.theme === 'dark' ? SetTheme.call(this, 'dark', newTheme) : SetTheme.call(this, 'light', newTheme)} -
${this.resolvedSpec.info.description}
+
${this.resolvedSpec.info.description}
`; } - */ return html` ${this.theme === 'dark' ? SetTheme.call(this, 'dark', newTheme) : SetTheme.call(this, 'light', newTheme)}