Merge "fix: Fix the stack log is not showed completely"

This commit is contained in:
Zuul 2021-08-23 02:34:51 +00:00 committed by Gerrit Code Review
commit a4944b6cf0

View File

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
import React from 'react';
import { observer, inject } from 'mobx-react'; import { observer, inject } from 'mobx-react';
import Base from 'containers/List'; import Base from 'containers/List';
import { StackEventStore } from 'stores/heat/event'; import { StackEventStore } from 'stores/heat/event';
@ -45,10 +46,20 @@ export default class Event extends Base {
{ {
title: t('Stack Resource'), title: t('Stack Resource'),
dataIndex: 'logical_resource_id', dataIndex: 'logical_resource_id',
render: (it) => (
<div style={{ wordWrap: 'break-word', wordBreak: 'break-word' }}>
{it}
</div>
),
}, },
{ {
title: t('Resource'), title: t('Resource'),
dataIndex: 'physical_resource_id', dataIndex: 'physical_resource_id',
render: (it) => (
<div style={{ wordWrap: 'break-word', wordBreak: 'break-word' }}>
{it}
</div>
),
}, },
{ {
title: t('Resource Status'), title: t('Resource Status'),