fix: closes #353
This commit is contained in:
parent
ea1e8ab9dc
commit
baa79164e2
@ -14,7 +14,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
import SuccessDialog from '../../../components/SuccessDialog';
|
import SuccessDialog from '../../../components/SuccessDialog';
|
||||||
import { getParams, setParams, request } from '../../../globalLib';
|
import { getParams, setParams, request, aliwareIntl } from '../../../globalLib';
|
||||||
import {
|
import {
|
||||||
Balloon,
|
Balloon,
|
||||||
Button,
|
Button,
|
||||||
@ -250,7 +250,6 @@ class NewConfig extends React.Component {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,13 +114,14 @@ class InstanceTable extends React.Component {
|
|||||||
<Table.Column
|
<Table.Column
|
||||||
title={locale.metadata}
|
title={locale.metadata}
|
||||||
dataIndex="metadata"
|
dataIndex="metadata"
|
||||||
cell={metadata =>
|
cell={(metadata = {}) => {
|
||||||
Object.keys(metadata).map(k => (
|
if (!metadata) return null;
|
||||||
|
return Object.keys(metadata).map(k => (
|
||||||
<p>
|
<p>
|
||||||
{k}={metadata[k]}
|
{k}={metadata[k]}
|
||||||
</p>
|
</p>
|
||||||
))
|
));
|
||||||
}
|
}}
|
||||||
/>
|
/>
|
||||||
<Table.Column
|
<Table.Column
|
||||||
title={locale.operation}
|
title={locale.operation}
|
||||||
|
Loading…
Reference in New Issue
Block a user