chore: Add missing labels to buttons without text and search inputs
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 />
|
||||
|
||||
@@ -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 />
|
||||
|
||||
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user