Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
e-epal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Σταύρος Παπαδάκης
e-epal
Commits
f9b765ab
Commit
f9b765ab
authored
May 19, 2017
by
Χάρης Παπαδόπουλος
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'front_end_review' into 'develop'
perfecture-view asynchronicity fix See merge request !94
parents
a1d62450
9b9d761c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
source/components/infoviews/perfecture-view.ts
source/components/infoviews/perfecture-view.ts
+10
-10
No files found.
source/components/infoviews/perfecture-view.ts
View file @
f9b765ab
...
...
@@ -82,10 +82,17 @@ import {
ngOnInit
()
{
this
.
SchoolSub
=
this
.
_hds
.
getSchoolId
().
subscribe
(
x
=>
{
this
.
School$
.
next
(
x
);
this
.
School$
.
next
(
x
);
console
.
log
(
x
[
0
].
id
,
"
perfectureID
"
);
this
.
perfecture
=
x
[
0
].
id
;
this
.
SchoolPerPerfSub
=
this
.
_hds
.
getSchoolPerPerfecture
(
this
.
perfecture
).
subscribe
(
data
=>
{
this
.
SchoolsPerPerf$
.
next
(
data
);
},
error
=>
{
this
.
SchoolsPerPerf$
.
next
([{}]);
console
.
log
(
"
Error Getting Schools
"
);
},
()
=>
console
.
log
(
"
Getting Schools
"
));
},
error
=>
{
...
...
@@ -95,14 +102,7 @@ import {
()
=>
console
.
log
(
"
Getting School
"
));
this
.
SchoolPerPerfSub
=
this
.
_hds
.
getSchoolPerPerfecture
(
this
.
perfecture
).
subscribe
(
data
=>
{
this
.
SchoolsPerPerf$
.
next
(
data
);
},
error
=>
{
this
.
SchoolsPerPerf$
.
next
([{}]);
console
.
log
(
"
Error Getting Schools
"
);
},
()
=>
console
.
log
(
"
Getting Schools
"
));
...
...
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