Add ToDo item.
This commit is contained in:
parent
6aa1d923ce
commit
a310ff3bab
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue