From 2bad8c54fa90254de0333a210e271848a07e2c51 Mon Sep 17 00:00:00 2001 From: Tobias Kuhnert <tobias.kuhnert@ufz.de> Date: Fri, 29 Apr 2022 13:37:37 +0200 Subject: [PATCH] updated - added missing feature/removed unused code --- .../_configurationId/contacts/new.vue | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pages/configurations/_configurationId/contacts/new.vue b/pages/configurations/_configurationId/contacts/new.vue index 8d476b755..4b320a880 100644 --- a/pages/configurations/_configurationId/contacts/new.vue +++ b/pages/configurations/_configurationId/contacts/new.vue @@ -114,10 +114,18 @@ export default class ConfigurationAddContactPage extends Vue { } } + get configurationId (): string { + return this.$route.params.configurationId + } + get isInProgress (): boolean { return this.isLoading || this.isSaving } + get allExceptSelected (): Contact[] { + return this.contactsByDifference(this.configurationContacts); + } + async addContact (): void { if (this.selectedContact && this.selectedContact.id && this.$auth.loggedIn) { try { @@ -137,12 +145,5 @@ export default class ConfigurationAddContactPage extends Vue { } } - get allExceptSelected (): Contact[] { - return this.contactsByDifference(this.configurationContacts); - } - - get configurationId (): string { - return this.$route.params.configurationId - } } </script> -- GitLab