Add ToDo item.

This commit is contained in:
Richard Lewis 2017-07-28 18:21:23 +01:00
parent 6aa1d923ce
commit a310ff3bab

View file

@ -151,6 +151,7 @@ export default React.createClass({
return 'Revoke widget access'; return 'Revoke widget access';
}, },
/* TODO -- Store permission in account data so that it is persisted across multiple devices */
_grantWidgetPermission() { _grantWidgetPermission() {
console.warn('Granting permission to load widget - ', this.state.widgetUrl); console.warn('Granting permission to load widget - ', this.state.widgetUrl);
localStorage.setItem(this.state.widgetPermissionId, true); localStorage.setItem(this.state.widgetPermissionId, true);