Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
lib-ical
Commits
79e42802
Commit
79e42802
authored
Mar 23, 2017
by
Mark Stenglein
Browse files
CalUserTypeParam: Remove unnecessary branching
Signed-off-by:
Mark Stenglein
<
mark@stengle.in
>
parent
cec4bcd4
Pipeline
#1138
passed with stages
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/CalUserTypeParam.ts
View file @
79e42802
...
...
@@ -38,7 +38,7 @@ export default class CalUserTypeParam extends Parameter {
if
(
usertype
.
length
>
0
)
{
this
.
calUserType
=
usertype
;
}
else
if
(
usertype
.
length
===
0
)
{
else
{
// Sets the default of INDIVIDUAL to start
this
.
calUserType
=
"
INDIVIDUAL
"
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment