Browse Source

Adjust the warning on missing component type

pull/2031/head
Artur Arseniev 7 years ago
parent
commit
67370a7ec0
  1. 1
      src/dom_components/model/Components.js

1
src/dom_components/model/Components.js

@ -31,6 +31,7 @@ module.exports = Backbone.Collection.extend({
// get the last one
model = df[df.length - 1].model;
em &&
attrs.type &&
em.logWarning(`Component type '${attrs.type}' not found`, {
attrs,
options

Loading…
Cancel
Save