Fix several formatting issues.

This commit is contained in:
Thomas E Lackey 2020-08-20 17:20:03 -05:00
parent 77cb5c6267
commit ee03a9e97b
5 changed files with 16 additions and 16 deletions

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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}

View File

@ -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"
}
}