Add comment

This commit is contained in:
Richard Lewis 2017-07-28 16:48:13 +01:00
parent 9935dd0051
commit 6aa1d923ce

View file

@ -142,6 +142,8 @@ export default React.createClass({
}
},
// Widget labels to render, depending upon user permissions
// These strings are translated at the point that they are inserted in to the DOM, in the render method
_deleteWidgetLabel() {
if (this._canUserModify()) {
return 'Delete widget';