Skip to content
Snippets Groups Projects
Commit 2bad8c54 authored by Tobias Kuhnert's avatar Tobias Kuhnert
Browse files

updated - added missing feature/removed unused code

parent fdc5b17a
No related branches found
No related tags found
2 merge requests!296Merge develop for staging release,!225Draft: Resolve "[Refactoring] Improve vuex store usage"
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment