apply eslint and prettier rules

This commit is contained in:
Sebastian Sdorra
2019-10-21 10:57:56 +02:00
parent 85773186db
commit 4bb8e6153b
227 changed files with 1147 additions and 4076 deletions

View File

@@ -23,9 +23,7 @@ export default class UserGroupAutocomplete extends React.Component<Props> {
.then(response => response.json())
.then((json: AutocompleteObject[]) => {
return json.map(element => {
const label = element.displayName
? `${element.displayName} (${element.id})`
: element.id;
const label = element.displayName ? `${element.displayName} (${element.id})` : element.id;
return {
value: element,
label