File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pcweb/components/docpage/navbar Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ class TypesenseSearchState(rx.State):
8888 search_query : rx .Field [str ] = rx .field ("" )
8989 search_results : rx .Field [list [dict ]] = rx .field ([])
9090 is_searching : rx .Field [bool ] = rx .field (False )
91- show_results : bool = False
91+ _show_results : bool = False
9292 selected_filter : rx .Field [str ] = rx .field ("All" )
9393
9494 @rx .event (temporal = True )
@@ -135,7 +135,7 @@ async def search_docs(self, query: str):
135135 formatted_results = self ._format_search_results (results )
136136 async with self :
137137 self .search_results = formatted_results
138- self .show_results = True
138+ self ._show_results = True
139139 except Exception :
140140 async with self :
141141 self ._clear_search_results ()
@@ -175,7 +175,7 @@ async def _perform_unified_search(self, query: str) -> dict:
175175 def _clear_search_results (self ):
176176 """Clear search results and hide results display."""
177177 self .search_results = []
178- self .show_results = False
178+ self ._show_results = False
179179
180180 def _format_search_results (self , result : dict ) -> list [dict ]:
181181 """Format search results for display with enhanced component info."""
You can’t perform that action at this time.
0 commit comments