File tree Expand file tree Collapse file tree
apps/desktop/src/routes/_protected/database/$id/definitions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,14 +154,14 @@ function DatabaseConstraintsPage() {
154154 >
155155 < Badge variant = "outline" className = "text-xs font-normal" >
156156 < RiTable2 className = "mr-1 size-3" />
157- { item . table }
157+ < HighlightText text = { item . table } match = { search } />
158158 </ Badge >
159159 { item . column && (
160160 < >
161161 < span > on</ span >
162162 < Badge variant = "outline" className = "font-mono text-xs" >
163163 < RiLayoutColumnLine className = "mr-1 size-3" />
164- { item . column }
164+ < HighlightText text = { item . column } match = { search } />
165165 </ Badge >
166166 </ >
167167 ) }
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ function DatabaseIndexesPage() {
181181 >
182182 < Badge variant = "outline" className = "text-xs font-normal" >
183183 < RiTable2 className = "mr-1 size-3" />
184- { item . table }
184+ < HighlightText text = { item . table } match = { search } />
185185 </ Badge >
186186 < span > on</ span >
187187 { item . columns . map ( ( col : string ) => (
@@ -191,7 +191,7 @@ function DatabaseIndexesPage() {
191191 className = "font-mono text-xs"
192192 >
193193 < RiLayoutColumnLine className = "mr-1 size-3" />
194- { col }
194+ < HighlightText text = { col } match = { search } />
195195 </ Badge >
196196 ) ) }
197197 </ div >
You can’t perform that action at this time.
0 commit comments