moved trycatch to the correct location lol

This commit is contained in:
Annika
2022-08-05 16:08:24 -06:00
parent 11bd724fb9
commit c019fafe52
13 changed files with 101 additions and 119 deletions
+6
View File
@@ -81,11 +81,17 @@ export default {
activeKeep: computed(() => AppState.activeKeep),
async viewKeep(keep) {
try {
keep.creator = AppState.activeProfile;
// AppState.activeKeep = keep
// make API call to trigger view counter
keepsService.getById(keep.id)
Modal.getOrCreateInstance(document.getElementById("keepModal")).show();
} catch (error) {
logger.error(error)
Pop.toast(error)
}
},
async viewVault(vault) {