Skip to content

Commit

Permalink
Update: Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Apr 11, 2024
1 parent 461196c commit 9b394e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Resources/Private/Editor/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ manifest("Carbon.PreviewMode:Button", {}, (globalRegistry, { frontendConfigurati
if (settings === true) {
settings = {
nodeTypeName: fallbackNodeTypeName,
}
};
}
if (!settings?.nodeTypeName) {
settings.nodeTypeName = fallbackNodeTypeName;
}
const position = settings?.position || "start";
console.log("settings", viewEditModeName, settings);
const Button = makeButton({ viewEditModeName, settings, i18nRegistry, nodeTypesRegistry });
containerRegistry.set(`SecondaryToolbar/Right/${viewEditModeName}`, connector(Button), position);
}
Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Plugin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9b394e5

Please sign in to comment.