@trops/dash-core 0.1.504 → 0.1.506

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
@@ -49453,7 +49453,7 @@ var ConfirmDisableInline = function ConfirmDisableInline(_ref7) {
49453
49453
  });
49454
49454
  };
49455
49455
  var WidgetGrantRow = function WidgetGrantRow(_ref8) {
49456
- var _granted$domains;
49456
+ var _granted$domains, _granted$domains2;
49457
49457
  var widgetId = _ref8.widgetId,
49458
49458
  declared = _ref8.declared,
49459
49459
  granted = _ref8.granted,
@@ -49544,6 +49544,16 @@ var WidgetGrantRow = function WidgetGrantRow(_ref8) {
49544
49544
  declaredItems: [],
49545
49545
  grantedItems: granted.domains.fs.writePaths || []
49546
49546
  })]
49547
+ }), (granted === null || granted === void 0 || (_granted$domains2 = granted.domains) === null || _granted$domains2 === void 0 ? void 0 : _granted$domains2.network) && (granted.domains.network.hosts || []).length > 0 && /*#__PURE__*/jsxRuntime.jsxs("div", {
49548
+ className: "flex flex-col space-y-2 border-t border-gray-800 pt-2",
49549
+ children: [/*#__PURE__*/jsxRuntime.jsx("span", {
49550
+ className: "text-xs uppercase tracking-wider opacity-70",
49551
+ children: "network"
49552
+ }), /*#__PURE__*/jsxRuntime.jsx(PermsList, {
49553
+ label: "Allowed hosts",
49554
+ declaredItems: [],
49555
+ grantedItems: granted.domains.network.hosts || []
49556
+ })]
49547
49557
  })]
49548
49558
  });
49549
49559
  };