|
@@ -2034,7 +2034,7 @@ ${ assist.assistPanel() }
|
|
|
huePubSub.publish(resp.pub_sub_url);
|
|
huePubSub.publish(resp.pub_sub_url);
|
|
|
}
|
|
}
|
|
|
$.jHueNotify.info("${ _('Creation success') }");
|
|
$.jHueNotify.info("${ _('Creation success') }");
|
|
|
- if (resp.errors) {
|
|
|
|
|
|
|
+ if (resp.errors && resp.errors.length) {
|
|
|
$.jHueNotify.warn("${ _('Skipped records: ') }" + resp.errors.join(', '));
|
|
$.jHueNotify.warn("${ _('Skipped records: ') }" + resp.errors.join(', '));
|
|
|
}
|
|
}
|
|
|
huePubSub.publish('open.link', resp.on_success_url);
|
|
huePubSub.publish('open.link', resp.on_success_url);
|