mirror of
https://github.com/maputnik/editor.git
synced 2025-12-28 17:10:01 +00:00
Fixed data function display issues.
This commit is contained in:
@@ -49,8 +49,15 @@ export default class DocLabel extends React.Component {
|
||||
</div>
|
||||
</label>
|
||||
}
|
||||
else if (label) {
|
||||
return <label className="maputnik-doc-wrapper">
|
||||
<div className="maputnik-doc-target">
|
||||
{label}
|
||||
</div>
|
||||
</label>
|
||||
}
|
||||
else {
|
||||
return <div />
|
||||
<div />
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user