mirror of
https://github.com/ansible/awx.git
synced 2026-07-29 08:59:55 -02:30
fix prettier issues
This commit is contained in:
@@ -210,7 +210,8 @@ class Search extends React.Component {
|
|||||||
<NoOptionDropdown>{searchColumnName}</NoOptionDropdown>
|
<NoOptionDropdown>{searchColumnName}</NoOptionDropdown>
|
||||||
)}
|
)}
|
||||||
</DataToolbarItem>
|
</DataToolbarItem>
|
||||||
{columns.map(({ key, name, options, isBoolean, booleanLabels = {} }) => (
|
{columns.map(
|
||||||
|
({ key, name, options, isBoolean, booleanLabels = {} }) => (
|
||||||
<DataToolbarFilter
|
<DataToolbarFilter
|
||||||
chips={chipsByKey[key] ? chipsByKey[key].chips : []}
|
chips={chipsByKey[key] ? chipsByKey[key].chips : []}
|
||||||
deleteChip={(unusedKey, val) => {
|
deleteChip={(unusedKey, val) => {
|
||||||
@@ -286,7 +287,8 @@ class Search extends React.Component {
|
|||||||
</InputGroup>
|
</InputGroup>
|
||||||
)}
|
)}
|
||||||
</DataToolbarFilter>
|
</DataToolbarFilter>
|
||||||
))}
|
)
|
||||||
|
)}
|
||||||
</DataToolbarGroup>
|
</DataToolbarGroup>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -188,9 +188,9 @@ function InventoryGroupsList({ i18n, location, match }) {
|
|||||||
key: 'parents__isnull',
|
key: 'parents__isnull',
|
||||||
isBoolean: true,
|
isBoolean: true,
|
||||||
booleanLabels: {
|
booleanLabels: {
|
||||||
"true": i18n._(t`Show Only Root Groups`),
|
true: i18n._(t`Show Only Root Groups`),
|
||||||
"false": i18n._(t`Show All Groups`)
|
false: i18n._(t`Show All Groups`),
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: i18n._(t`Created By (Username)`),
|
name: i18n._(t`Created By (Username)`),
|
||||||
|
|||||||
@@ -258,8 +258,8 @@ export const SearchColumns = arrayOf(
|
|||||||
isDefault: bool,
|
isDefault: bool,
|
||||||
isBoolean: bool,
|
isBoolean: bool,
|
||||||
booleanLabels: shape({
|
booleanLabels: shape({
|
||||||
"true": string.isRequired,
|
true: string.isRequired,
|
||||||
"false": string.isRequired
|
false: string.isRequired,
|
||||||
}),
|
}),
|
||||||
options: arrayOf(arrayOf(string, string)),
|
options: arrayOf(arrayOf(string, string)),
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user