X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fframework%2Fwidgets%2Fskyquake_container%2FskyquakeContainer.jsx;h=558cc620b56c3a6432a4928aec5b124c904ba3be;hp=7a0418e2b7397048aceedf79e4320f70232e4a09;hb=223b8d21b98a9ff27367ab77fe9507e603e744b2;hpb=f147816aea224dce35599cfa0a814caba546c802 diff --git a/skyquake/framework/widgets/skyquake_container/skyquakeContainer.jsx b/skyquake/framework/widgets/skyquake_container/skyquakeContainer.jsx index 7a0418e2b..558cc620b 100644 --- a/skyquake/framework/widgets/skyquake_container/skyquakeContainer.jsx +++ b/skyquake/framework/widgets/skyquake_container/skyquakeContainer.jsx @@ -113,7 +113,7 @@ export default class skyquakeContainer extends React.Component { currentPlugin={this.state.currentPlugin} store={SkyquakeContainerStore} />
-

{(this.state.nav.name ? this.state.nav.name : this.state.currentPlugin) + tag}

+

{(this.state.nav.name ? this.state.nav.name.replace('_', ' ').replace('-', ' ') : this.state.currentPlugin && this.state.currentPlugin.replace('_', ' ').replace('-', ' ')) + tag}

{this.props.children}