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 {
|
class Desc extends Component {
|
||||||
render = () => {
|
render = () => {
|
||||||
const descHTML = (this.props.desc === '' && this.props.authorizedToEdit)
|
const descHTML = (!this.props.desc && this.props.authorizedToEdit)
|
||||||
? '<p.Click to add description...</p>'
|
? '<p>Click to add description...</p>'
|
||||||
: Util.mdToHTML(this.props.desc)
|
: Util.mdToHTML(this.props.desc)
|
||||||
|
|
||||||
if (this.props.authorizedToEdit) {
|
if (this.props.authorizedToEdit) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue