diff --git a/src/views/SettingsView.vue b/src/views/SettingsView.vue index 7ba81fb..bf7c9d4 100644 --- a/src/views/SettingsView.vue +++ b/src/views/SettingsView.vue @@ -9,6 +9,8 @@ +

Purge all settings

+ @@ -19,4 +21,9 @@ import Content from '../components/content/Content.vue' import UserSettings from '../components/userSettings/UserSettings.vue' import ConfiguredChannels from '../components/channelSettings/ConfiguredChannels.vue' import AddChannel from '../components/channelSettings/AddChannel.vue' + +function purgeSettings() { + window.localStorage.clear() + document.location.href = "/" +}