mirror of
https://github.com/docmost/docmost.git
synced 2026-08-25 15:57:11 +08:00
refactor: keep the title-only label uniform across search modes
This commit is contained in:
@@ -1309,6 +1309,5 @@
|
||||
"Read-only mode": "Read-only mode",
|
||||
"AI Chat can search and read workspace content, but cannot create or edit pages.": "AI Chat can search and read workspace content, but cannot create or edit pages.",
|
||||
"Toggle AI Chat read-only mode": "Toggle AI Chat read-only mode",
|
||||
"Title only": "Title only",
|
||||
"File name only": "File name only"
|
||||
"Title only": "Title only"
|
||||
}
|
||||
|
||||
@@ -270,9 +270,7 @@ export function SearchSpotlightFilters({
|
||||
aria-pressed={titleOnly}
|
||||
onClick={() => setTitleOnly(!titleOnly)}
|
||||
>
|
||||
{contentType === "attachment"
|
||||
? t("File name only")
|
||||
: t("Title only")}
|
||||
{t("Title only")}
|
||||
</Button>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user