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:
@@ -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