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