Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalWebpage
Commits
6c4d2a55
Commit
6c4d2a55
authored
Nov 12, 2018
by
Lukas Burgey
Browse files
Remove obsolete logging
parent
7c1f2807
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/user.service.ts
View file @
6c4d2a55
...
...
@@ -141,7 +141,6 @@ export class UserService {
console
.
log
(
'
update:
'
,
update
);
if
(
update
.
error
&&
update
.
error
!=
''
)
{
console
.
log
(
update
.
error
);
this
.
snackBar
.
open
(
update
.
error
);
}
...
...
@@ -164,7 +163,6 @@ export class UserService {
if
(
update
)
{
// report an occured error
if
(
update
.
error
)
{
console
.
log
(
update
.
error
);
this
.
snackBar
.
open
(
update
.
error
);
}
...
...
@@ -326,11 +324,9 @@ export class UserService {
return
this
.
subscribeSpecific
<
Group
[]
>
(
groupSelector
);
}
public
subscribeServiceDeployment
(
service
:
Service
):
Observable
<
Deployment
>
{
return
this
.
subscribeDeployments
().
pipe
(
map
(
(
deployments
:
Deployment
[])
=>
{
map
((
deployments
:
Deployment
[])
=>
{
return
deployments
.
find
(
(
dep
:
Deployment
)
=>
dep
.
service
?
dep
.
service
.
id
==
service
.
id
:
false
);
...
...
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