« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/linkExternalAsIcon.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/linkExternalAsIcon.js b/src/content/dependencies/linkExternalAsIcon.js
index c363ad90..6f37529e 100644
--- a/src/content/dependencies/linkExternalAsIcon.js
+++ b/src/content/dependencies/linkExternalAsIcon.js
@@ -43,7 +43,9 @@ export default {
 
         slots.withText &&
           html.tag('span', {class: 'icon-text'},
-            handleText ?? platformText),
+            (html.isBlank(handleText)
+              ? platformText
+              : handleText)),
       ]);
   },
 };