mirror of
https://github.com/zadam/trilium.git
synced 2025-12-21 23:59:59 +01:00
fix(client/search): collection rendering twice
This commit is contained in:
@@ -85,7 +85,7 @@ export function CustomNoteList<T extends object>({ note, isEnabled: shouldEnable
|
||||
}
|
||||
|
||||
return (
|
||||
<div ref={widgetRef} className={`note-list-widget component ${isFullHeight ? "full-height" : ""}`}>
|
||||
<div ref={widgetRef} className={`note-list-widget component ${isFullHeight && isEnabled ? "full-height" : ""}`}>
|
||||
{props && isEnabled && (
|
||||
<div className="note-list-widget-content">
|
||||
{getComponentByViewType(viewType, props)}
|
||||
|
||||
Reference in New Issue
Block a user