aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui/app/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'old-ui/app/config.js')
-rw-r--r--old-ui/app/config.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/old-ui/app/config.js b/old-ui/app/config.js
index 7a93887a5..999b556c6 100644
--- a/old-ui/app/config.js
+++ b/old-ui/app/config.js
@@ -205,6 +205,31 @@ ConfigScreen.prototype.render = function () {
marginTop: '20px',
},
}, [
+ h('p', {
+ style: {
+ fontFamily: 'Montserrat Light',
+ fontSize: '13px',
+ },
+ }, 'Clear approved website data so all sites must request approval again.'),
+ h('br'),
+ h('button', {
+ style: {
+ alignSelf: 'center',
+ },
+ onClick (event) {
+ event.preventDefault()
+ state.dispatch(actions.clearApprovedOrigins())
+ },
+ }, 'Clear approval data'),
+ ]),
+
+ h('hr.horizontal-line'),
+
+ h('div', {
+ style: {
+ marginTop: '20px',
+ },
+ }, [
h('button', {
style: {
alignSelf: 'center',