mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
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() {
|
||||
if (this._canUserModify()) {
|
||||
return 'Delete widget';
|
||||
|
|
Loading…
Reference in a new issue