Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
org.etsi.osl.tmf.web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSL
code
org.etsi.osl.tmf.web
Commits
7cee035a
Commit
7cee035a
authored
10 months ago
by
Labros Papadopoulos
Browse files
Options
Downloads
Patches
Plain Diff
check if it has geographic info
parent
f7733648
No related branches found
No related tags found
1 merge request
!11
Party registration workflow
Pipeline
#6260
passed
10 months ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/shared/components/partyManagement/edit-individuals/edit-individuals.component.ts
+8
-1
8 additions, 1 deletion
...Management/edit-individuals/edit-individuals.component.ts
with
8 additions
and
1 deletion
src/app/shared/components/partyManagement/edit-individuals/edit-individuals.component.ts
+
8
−
1
View file @
7cee035a
...
...
@@ -82,6 +82,8 @@ export class EditIndividualsComponent implements OnInit {
testbedProvider
=
false
hasGeographicSite
=
false
subscriptions
=
new
Subscription
()
ngOnInit
()
{
...
...
@@ -98,6 +100,11 @@ export class EditIndividualsComponent implements OnInit {
if
(
val
===
'
TESTBED_PROVIDER
'
)
{
this
.
testbedProvider
=
true
this
.
retrieveGeographicSite
()
console
.
log
(
this
.
geographicSite
)
if
(
this
.
geographicSite
.
place
[
0
].
geographicAddress
.
city
!==
null
){
this
.
hasGeographicSite
=
true
console
.
log
(
this
.
hasGeographicSite
)
}
}
}
this
.
retrieveIndividual
()
...
...
@@ -309,7 +316,7 @@ export class EditIndividualsComponent implements OnInit {
console
.
log
(
updateObj
)
let
updatedGeographicSite
:
GeographicSite
if
(
this
.
newIndividual
)
{
if
(
!
this
.
hasGeographicSite
)
{
this
.
geographicSiteService
.
createGeographicSite
(
updateObj
).
subscribe
(
data
=>
{
updatedGeographicSite
=
data
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment