@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.js CHANGED
@@ -2647,6 +2647,7 @@ var Public = function Public(_ref) {
2647
2647
 
2648
2648
  var Repositories = function Repositories(_ref) {
2649
2649
  var isConnected = _ref.isConnected,
2650
+ isPublicRepoAllowed = _ref.isPublicRepoAllowed,
2650
2651
  repositories = _ref.repositories,
2651
2652
  onConnect = _ref.onConnect,
2652
2653
  installationUrl = _ref.installationUrl,
@@ -2659,7 +2660,7 @@ var Repositories = function Repositories(_ref) {
2659
2660
  onConnect: onConnect,
2660
2661
  repositories: repositories,
2661
2662
  troubleshootUrl: troubleshootUrl
2662
- }), /*#__PURE__*/React.createElement(Public, {
2663
+ }), isPublicRepoAllowed && /*#__PURE__*/React.createElement(Public, {
2663
2664
  onConnect: onConnect
2664
2665
  }));
2665
2666
  };
@@ -2669,6 +2670,8 @@ var NeetoGithubNanoModal = function NeetoGithubNanoModal(_ref) {
2669
2670
  onClose = _ref.onClose,
2670
2671
  _ref$isConnected = _ref.isConnected,
2671
2672
  isConnected = _ref$isConnected === void 0 ? false : _ref$isConnected,
2673
+ _ref$isPublicRepoAllo = _ref.isPublicRepoAllowed,
2674
+ isPublicRepoAllowed = _ref$isPublicRepoAllo === void 0 ? false : _ref$isPublicRepoAllo,
2672
2675
  _ref$repositories = _ref.repositories,
2673
2676
  repositories = _ref$repositories === void 0 ? [] : _ref$repositories,
2674
2677
  _ref$accounts = _ref.accounts,
@@ -2700,6 +2703,7 @@ var NeetoGithubNanoModal = function NeetoGithubNanoModal(_ref) {
2700
2703
  }, /*#__PURE__*/React.createElement(Repositories, {
2701
2704
  installationUrl: installationUrl,
2702
2705
  isConnected: isConnected,
2706
+ isPublicRepoAllowed: isPublicRepoAllowed,
2703
2707
  onConnect: onConnect,
2704
2708
  repositories: repositories,
2705
2709
  troubleshootUrl: troubleshootUrl