Skip to content

Commit

Permalink
fix(ProxyManager): Prevent debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Feb 1, 2018
1 parent 4c7f0cf commit 5468ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Proxy/Core/ProxyManager/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default function addRegistrationAPI(publicAPI, model) {
const viewToUse = view || publicAPI.getActiveView();

// Can only get a representation for a source and a view
if (!sourceToUse || !viewToUse) {
if (!sourceToUse || !viewToUse || !sourceToUse.getType()) {
return null;
}

Expand Down

0 comments on commit 5468ef1

Please sign in to comment.