Skip to content

Commit aa3c848

Browse files
Update src/holoviz_mcp/apps/panel_search.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8acca56 commit aa3c848

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/holoviz_mcp/apps/panel_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def __init__(self, **params):
228228
self._error_pane = pn.pane.Alert(
229229
self._error_text,
230230
alert_type="danger",
231-
visible=pn.rx(lambda msg: bool(msg))(self._config.param.error_message),
231+
visible=pn.rx(bool)(self._config.param.error_message),
232232
sizing_mode="stretch_width",
233233
)
234234

0 commit comments

Comments
 (0)