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
itminedu
okeanos-LoD
Commits
2b3b1588
Commit
2b3b1588
authored
Apr 04, 2016
by
Georgios Ouzounis
Browse files
Handle the case where the user removes all added topics from one tokenfield
parent
f3d6995c
Changes
1
Hide whitespace changes
Inline
Side-by-side
webapp/frontend/app/controllers/create-lambda-instance.js
View file @
2b3b1588
...
...
@@ -304,10 +304,18 @@ export default Ember.Controller.extend({
},
kafkaInputTopicsObserver
:
Ember
.
observer
(
'
kafkaInputTopics
'
,
function
()
{
if
(
this
.
get
(
'
kafkaInputTopics
'
).
get
(
'
length
'
)
===
0
){
this
.
set
(
'
kafkaInputTopics
'
,
[
"
input
"
]);
}
this
.
parseKafkaTopics
();
}),
kafkaOutputTopicsObserver
:
Ember
.
observer
(
'
kafkaOutputTopics
'
,
function
()
{
if
(
this
.
get
(
'
kafkaOutputTopics
'
).
get
(
'
length
'
)
===
0
){
this
.
set
(
'
kafkaOutputTopics
'
,
[
"
batch-output
"
,
"
stream-output
"
]);
}
this
.
parseKafkaTopics
();
}),
...
...
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