chore: Add missing labels to buttons without text and search inputs

This commit is contained in:
Tom Moor
2021-01-22 19:31:30 -08:00
parent 6a206de6cd
commit c9fdf48c33
19 changed files with 43 additions and 17 deletions

View File

@@ -145,6 +145,8 @@ class CollectionScene extends React.Component<Props> {
<InputSearch
source="collection"
placeholder={`${t("Search in collection")}`}
label={`${t("Search in collection")}`}
labelHidden
collectionId={match.params.id}
/>
</Action>

View File

@@ -64,7 +64,11 @@ function Dashboard() {
</Switch>
<Actions align="center" justify="flex-end">
<Action>
<InputSearch source="dashboard" />
<InputSearch
source="dashboard"
label={t("Search documents")}
labelHidden
/>
</Action>
<Action>
<NewDocumentMenu />

View File

@@ -113,7 +113,11 @@ class Drafts extends React.Component<Props> {
<Actions align="center" justify="flex-end">
<Action>
<InputSearch source="drafts" />
<InputSearch
source="drafts"
label={t("Search documents")}
labelHidden
/>
</Action>
<Action>
<NewDocumentMenu />

View File

@@ -48,7 +48,11 @@ function Starred(props: Props) {
<Actions align="center" justify="flex-end">
<Action>
<InputSearch source="starred" />
<InputSearch
source="starred"
label={t("Search documents")}
labelHidden
/>
</Action>
<Action>
<NewDocumentMenu />