Commit 79e42802 authored by Mark Stenglein's avatar Mark Stenglein
Browse files

CalUserTypeParam: Remove unnecessary branching


Signed-off-by: Mark Stenglein's avatarMark Stenglein <mark@stengle.in>
parent cec4bcd4
Pipeline #1138 passed with stages
in 52 seconds
...@@ -38,7 +38,7 @@ export default class CalUserTypeParam extends Parameter { ...@@ -38,7 +38,7 @@ export default class CalUserTypeParam extends Parameter {
if (usertype.length > 0) { if (usertype.length > 0) {
this.calUserType = usertype; this.calUserType = usertype;
} }
else if (usertype.length === 0) { else {
// Sets the default of INDIVIDUAL to start // Sets the default of INDIVIDUAL to start
this.calUserType = "INDIVIDUAL"; this.calUserType = "INDIVIDUAL";
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment