Skip to content

Commit

Permalink
fix: do not display warning if no override
Browse files Browse the repository at this point in the history
  • Loading branch information
fkm-adfinis authored and anehx committed May 22, 2019
1 parent af93869 commit 3c2bf1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addon/helpers/get-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default Helper.extend({
if (!override) {
warn(
`Widget override "${widget}" is not registered. Please register it by calling \`calumaOptions.registerComponentOverride\``,
!widget,
{ id: "ember-caluma.unregistered-override" }
);

Expand Down

0 comments on commit 3c2bf1d

Please sign in to comment.