Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Konstantin A
tower
Commits
81ceeddc
Commit
81ceeddc
authored
Mar 11, 2018
by
Aleksey Shirokih
Browse files
Improve service value check
parent
180515f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
tower/ui/service_logic.js
View file @
81ceeddc
...
...
@@ -124,7 +124,7 @@ var service_logic = {
lines
.
forEach
(
function
(
line
)
{
// sorry for that.
for
(
var
key
in
values
)
{
nm
=
key
.
split
(
"
-
"
)
[
1
]
;
nm
=
key
.
split
(
"
-
"
)
.
pop
(
-
1
)
;
val
=
values
[
key
];
$$
(
"
service_list
"
).
data
.
pull
[
line
.
id
].
config
[
nm
]
=
val
;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment