1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-13 08:02:38 +03:00

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';