king
2022-04-26 5046d0d13dc6a8563b8e54e31913bc44cfa1072f
src/tabviews/custom/components/share/normalheader/index.jsx
@@ -24,7 +24,7 @@
    this.setState({
      title: config.plot ? config.plot.title : config.wrap.title,
      show: !['normaltable', 'propcard'].includes(config.subtype) && config.search && config.search.length > 0
      show: !['normaltable', 'propcard', 'editable'].includes(config.subtype) && config.search && config.search.length > 0
    })
  }
@@ -46,7 +46,7 @@
    if (!title && !show) return null
    return (
      <div className="normal-header" style={config.headerStyle}>
      <div className={'normal-header' + (show ? ' header-search' : '')} style={config.headerStyle}>
        <span className="title">{title}</span>
        {show ? <SearchComponent config={config} BID={BID} menuType={menuType} refreshdata={this.props.refresh}/> : null}
      </div>