diff --git a/src/components/About.vue b/src/components/About.vue index e7e5464..0fd9f60 100644 --- a/src/components/About.vue +++ b/src/components/About.vue @@ -6,6 +6,16 @@ web-based application to elegantly view spells and save them to your local spellbook.

+

Settings

+ +

License

Open Game License v1.0a Copyright 2000, Wizards of the Coast, Inc. @@ -30,9 +40,27 @@ diff --git a/src/store.js b/src/store.js index 4f5cd48..5b4a554 100644 --- a/src/store.js +++ b/src/store.js @@ -20,6 +20,10 @@ export function dispatch (action) { case 'LOAD_LOCAL_CHOSEN' : state.chosen = LocalStorage.get.item('chosen').split(',') break + case 'WIPE_CHOSEN': + state.chosen = [] + LocalStorage.remove('chosen') + break case 'CHANGE_CHOSEN': if (action.data.want) { state.chosen.push(action.data.name)