fix bug in Desc.js
This commit is contained in:
parent
80ccc55131
commit
be0997e657
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ class MdTextArea extends RIETextArea {
|
|||
|
||||
class Desc extends Component {
|
||||
render = () => {
|
||||
const descHTML = (this.props.desc === '' && this.props.authorizedToEdit)
|
||||
? '<p.Click to add description...</p>'
|
||||
const descHTML = (!this.props.desc && this.props.authorizedToEdit)
|
||||
? '<p>Click to add description...</p>'
|
||||
: Util.mdToHTML(this.props.desc)
|
||||
|
||||
if (this.props.authorizedToEdit) {
|
||||
|
|
Loading…
Add table
Reference in a new issue