From f206585b67ab8c2437ded136ebee0956d3bf470b Mon Sep 17 00:00:00 2001 From: elweyn Date: Fri, 11 Mar 2022 10:58:17 +0100 Subject: [PATCH] Change default check of null to unexpected --- frontend/src/components/Inputs/InputEmail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Inputs/InputEmail.vue b/frontend/src/components/Inputs/InputEmail.vue index 3118b1ae0..8c7087bf3 100644 --- a/frontend/src/components/Inputs/InputEmail.vue +++ b/frontend/src/components/Inputs/InputEmail.vue @@ -43,7 +43,7 @@ export default { }, data() { return { - currentValue: this.defaultValue !== null ? this.defaultValue : '', + currentValue: this.defaultValue !== undefined ? this.defaultValue : '', } }, computed: {