From f5c562d3f9863a0784e81c71d750e8c174c0a1c1 Mon Sep 17 00:00:00 2001 From: mbergen Date: Thu, 17 Oct 2024 15:28:50 +0200 Subject: [PATCH] feat(widget): let Link Widget fallback to using link as display text (#4899) * Update widget_misc_inline_icon_and_text.lua * Add fallback in Widget/Basic/Link --- components/widget/basic/widget_basic_link.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/widget/basic/widget_basic_link.lua b/components/widget/basic/widget_basic_link.lua index daa1caa07f5..3de56b72228 100644 --- a/components/widget/basic/widget_basic_link.lua +++ b/components/widget/basic/widget_basic_link.lua @@ -45,7 +45,7 @@ function Link:render() '[[', self.props.link, '|', - unpack(self.props.children), + unpack(self.props.children) or self.props.link, ']]' ) }