Add comment
This commit is contained in:
parent
9935dd0051
commit
6aa1d923ce
1 changed files with 2 additions and 0 deletions
|
@ -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() {
|
_deleteWidgetLabel() {
|
||||||
if (this._canUserModify()) {
|
if (this._canUserModify()) {
|
||||||
return 'Delete widget';
|
return 'Delete widget';
|
||||||
|
|
Loading…
Reference in a new issue