diff --git a/src/account/AppsPage.vue b/src/account/AppsPage.vue index a0975be..d318314 100644 --- a/src/account/AppsPage.vue +++ b/src/account/AppsPage.vue @@ -61,7 +61,7 @@ }; }, computed: { - ...mapState('apps', ['mitmEnabled', 'apps']), + ...mapState('apps', ['mitmEnabled', 'apps', 'app']), ...mapState('system', ['messages']) }, created () { @@ -116,6 +116,15 @@ errors: this.errors }); } + }, + watch: { + app (a) { + this.getAppsByUserId({ + userId: this.user.uuid, + messages: this.messages, + errors: this.errors + }); + } } }; \ No newline at end of file