Skip to content
Snippets Groups Projects
Commit 1c363c3d authored by Lennard Strohmeyer's avatar Lennard Strohmeyer :penguin:
Browse files

Fix for #2 - do not show confirmation dialog if no previous consent exists

parent c2dcc03c
Branches
Tags
No related merge requests found
......@@ -107,7 +107,7 @@ export class PrivacySettingComponent implements OnInit {
}
})
})
if (isConfirmationRequired) {
if (isConfirmationRequired && this.previousUserConsent != null) {
const onConfirm = () => this.change.emit(this.consentDeclaration)
const onCancel = () => (event.source.checked = false)
this.openVerbWarningDialog(onConfirm, onCancel, verbId)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment