mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
chore(client/search): fix improper nesting
This commit is contained in:
@@ -77,6 +77,7 @@ export default function SearchDefinitionTab({ note, ntxId }: TabContext) {
|
||||
<div className="search-settings">
|
||||
{note &&
|
||||
<table className="search-setting-table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td className="title-column">{t("search_definition.add_search_option")}</td>
|
||||
<td colSpan={2} className="add-search-option">
|
||||
@@ -93,6 +94,7 @@ export default function SearchDefinitionTab({ note, ntxId }: TabContext) {
|
||||
<AddBulkActionButton note={note} />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody className="search-options">
|
||||
{searchOptions?.activeOptions.map(({ attributeType, attributeName, component, additionalAttributesToDelete, defaultValue }) => {
|
||||
const Component = component;
|
||||
|
||||
Reference in New Issue
Block a user