Force string value in content-manager edit container PluginHeaderTitle

This commit is contained in:
cyril lopez 2017-10-30 13:40:24 +01:00
parent 9412b1c8b8
commit c9ce0070b1

View File

@ -11,7 +11,7 @@ import { connect } from 'react-redux';
import { bindActionCreators, compose } from 'redux';
import { createStructuredSelector } from 'reselect';
import PropTypes from 'prop-types';
import { map, get, isObject, isEmpty, replace, toNumber } from 'lodash';
import { map, get, isObject, isEmpty, replace, toNumber, toString } from 'lodash';
import { router } from 'app';
// Components.
@ -183,7 +183,7 @@ export class Edit extends React.Component {
<div className={`container-fluid ${styles.containerFluid}`}>
<PluginHeader
title={{
id: pluginHeaderTitle,
id: toString(pluginHeaderTitle),
}}
description={{
id: 'plugin-content-manager-description',