Fix several formatting issues.
This commit is contained in:
parent
77cb5c6267
commit
ee03a9e97b
@ -1,5 +1,6 @@
|
||||
name: dxos.network/console-app
|
||||
name: dxos.network/console-moon
|
||||
displayName: Kubenet Console Client
|
||||
build: yarn dist
|
||||
version: 0.0.6
|
||||
package: QmZpM8u7ZUfQpXLgtdB1ug7nGExUrXhebtTSfSBPrRwcLX
|
||||
version: 0.0.16
|
||||
package:
|
||||
/: Qme8aGPrvs6TzgeQGoDpGb46jpvg5pLb71Fg91YFBPgz5K
|
||||
|
@ -54,10 +54,9 @@ const AppRecords = () => {
|
||||
return (
|
||||
<TableRow key={id} size='small'>
|
||||
<TableCell monospace>
|
||||
{names.map(wrn => <>
|
||||
<AppLink config={config} wrn={wrn} />
|
||||
<br />
|
||||
</>
|
||||
{names.map(wrn => <div>
|
||||
<AppLink config={config} wrn={wrn} />
|
||||
</div>
|
||||
)}
|
||||
</TableCell>
|
||||
<TableCell monospace>
|
||||
|
@ -22,7 +22,7 @@ const BotRecords = () => {
|
||||
const [sorter, sortBy] = useSorter('createTime', false);
|
||||
const data = useQueryStatusReducer(useQuery(WNS_RECORDS, {
|
||||
pollInterval: config.api.intervalQuery,
|
||||
variables: { attributes: { type: 'bot' } }
|
||||
variables: { attributes: { type: 'wrn:bot' } }
|
||||
}));
|
||||
|
||||
if (!data) {
|
||||
@ -46,7 +46,7 @@ const BotRecords = () => {
|
||||
{records.sort(sorter).map(({ id, names, createTime, attributes: { name: displayName, version } }) => {
|
||||
return (
|
||||
<TableRow key={id} size='small'>
|
||||
<TableCell monospace>{names}</TableCell>
|
||||
<TableCell monospace>{names.map(name => <div>{name}</div>)}</TableCell>
|
||||
<TableCell monospace>{version}</TableCell>
|
||||
<TableCell>{displayName}</TableCell>
|
||||
<TableCell>{moment.utc(createTime).fromNow()}</TableCell>
|
||||
|
@ -106,10 +106,10 @@ const WNSRecords = ({ type }) => {
|
||||
if (type === 'wrn:app') {
|
||||
appLinks = (
|
||||
<>
|
||||
{names.map(wrn => <>
|
||||
<AppLink config={config} wrn={wrn} />
|
||||
<br />
|
||||
</>
|
||||
{names.map(wrn =>
|
||||
<div>
|
||||
<AppLink config={config} wrn={wrn} />
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
@ -119,7 +119,7 @@ const WNSRecords = ({ type }) => {
|
||||
<TableRow key={id} size='small'>
|
||||
<TableCell monospace>{type}</TableCell>
|
||||
<TableCell monospace>
|
||||
{appLinks || names}
|
||||
{appLinks || names.map(name => <div>{name}</div>)}
|
||||
</TableCell>
|
||||
<TableCell monospace>
|
||||
{version}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"build": {
|
||||
"name": "@dxos/console-app",
|
||||
"buildDate": "2020-08-18T23:56:32.818Z",
|
||||
"version": "1.0.0-beta.24"
|
||||
"buildDate": "2020-08-20T22:12:45.569Z",
|
||||
"version": "1.0.0-moon.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user