@bigbinary/neeto-github-frontend 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -2659,6 +2659,7 @@ var Public = function Public(_ref) {
2659
2659
 
2660
2660
  var Repositories = function Repositories(_ref) {
2661
2661
  var isConnected = _ref.isConnected,
2662
+ isPublicRepoAllowed = _ref.isPublicRepoAllowed,
2662
2663
  repositories = _ref.repositories,
2663
2664
  onConnect = _ref.onConnect,
2664
2665
  installationUrl = _ref.installationUrl,
@@ -2671,7 +2672,7 @@ var Repositories = function Repositories(_ref) {
2671
2672
  onConnect: onConnect,
2672
2673
  repositories: repositories,
2673
2674
  troubleshootUrl: troubleshootUrl
2674
- }), /*#__PURE__*/React__default["default"].createElement(Public, {
2675
+ }), isPublicRepoAllowed && /*#__PURE__*/React__default["default"].createElement(Public, {
2675
2676
  onConnect: onConnect
2676
2677
  }));
2677
2678
  };
@@ -2681,6 +2682,8 @@ var NeetoGithubNanoModal = function NeetoGithubNanoModal(_ref) {
2681
2682
  onClose = _ref.onClose,
2682
2683
  _ref$isConnected = _ref.isConnected,
2683
2684
  isConnected = _ref$isConnected === void 0 ? false : _ref$isConnected,
2685
+ _ref$isPublicRepoAllo = _ref.isPublicRepoAllowed,
2686
+ isPublicRepoAllowed = _ref$isPublicRepoAllo === void 0 ? false : _ref$isPublicRepoAllo,
2684
2687
  _ref$repositories = _ref.repositories,
2685
2688
  repositories = _ref$repositories === void 0 ? [] : _ref$repositories,
2686
2689
  _ref$accounts = _ref.accounts,
@@ -2712,6 +2715,7 @@ var NeetoGithubNanoModal = function NeetoGithubNanoModal(_ref) {
2712
2715
  }, /*#__PURE__*/React__default["default"].createElement(Repositories, {
2713
2716
  installationUrl: installationUrl,
2714
2717
  isConnected: isConnected,
2718
+ isPublicRepoAllowed: isPublicRepoAllowed,
2715
2719
  onConnect: onConnect,
2716
2720
  repositories: repositories,
2717
2721
  troubleshootUrl: troubleshootUrl