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