Upgrade Prettier to 2.0.4. Reformatted all JS files
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
required,
|
||||
SimpleForm,
|
||||
SelectInput,
|
||||
ReferenceInput
|
||||
ReferenceInput,
|
||||
} from 'react-admin'
|
||||
import { Title } from '../common'
|
||||
|
||||
@@ -39,7 +39,7 @@ const PlayerEdit = (props) => (
|
||||
{ id: 192, name: '192' },
|
||||
{ id: 256, name: '256' },
|
||||
{ id: 320, name: '320' },
|
||||
{ id: 0, name: 'Unlimited' }
|
||||
{ id: 0, name: 'Unlimited' },
|
||||
]}
|
||||
/>
|
||||
<TextField source="client" />
|
||||
|
||||
+12
-12
@@ -5,7 +5,7 @@ import {
|
||||
TextField,
|
||||
DateField,
|
||||
FunctionField,
|
||||
ReferenceField
|
||||
ReferenceField,
|
||||
} from 'react-admin'
|
||||
import { useMediaQuery } from '@material-ui/core'
|
||||
import { SimpleList, Title } from '../common'
|
||||
@@ -21,18 +21,18 @@ const PlayerList = (props) => {
|
||||
tertiaryText={(r) => (r.maxBitRate ? r.maxBitRate : 'Unlimited')}
|
||||
/>
|
||||
) : (
|
||||
<Datagrid rowClick="edit">
|
||||
<TextField source="name" />
|
||||
<ReferenceField source="transcodingId" reference="transcoding">
|
||||
<Datagrid rowClick="edit">
|
||||
<TextField source="name" />
|
||||
</ReferenceField>
|
||||
<FunctionField
|
||||
source="maxBitRate"
|
||||
render={(r) => (r.maxBitRate ? r.maxBitRate : 'Unlimited')}
|
||||
/>
|
||||
<DateField source="lastSeen" showTime />
|
||||
</Datagrid>
|
||||
)}
|
||||
<ReferenceField source="transcodingId" reference="transcoding">
|
||||
<TextField source="name" />
|
||||
</ReferenceField>
|
||||
<FunctionField
|
||||
source="maxBitRate"
|
||||
render={(r) => (r.maxBitRate ? r.maxBitRate : 'Unlimited')}
|
||||
/>
|
||||
<DateField source="lastSeen" showTime />
|
||||
</Datagrid>
|
||||
)}
|
||||
</List>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -5,5 +5,5 @@ import PlayerEdit from './PlayerEdit'
|
||||
export default {
|
||||
list: PlayerList,
|
||||
edit: PlayerEdit,
|
||||
icon: RadioIcon
|
||||
icon: RadioIcon,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user