@ferrlabs/ui-ng 1.41.0 → 1.42.0

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.
@@ -9232,15 +9232,14 @@ const ENTITLED_STATUSES = /* @__PURE__ */ new Set([
9232
9232
  "past_due"
9233
9233
  ]);
9234
9234
  const ORG_HUB = "ferrlabs";
9235
- function entitledApps(apps, subscriptions, current) {
9235
+ function entitledApps(apps, subscriptions, _current) {
9236
9236
  const held = new Map(subscriptions.filter((sub) => ENTITLED_STATUSES.has(sub.status)).map((sub) => [sub.product, sub]));
9237
- return apps.flatMap((app) => {
9237
+ return apps.map((app) => {
9238
9238
  const sub = held.get(app.id);
9239
- if (sub) return [{
9239
+ return sub ? {
9240
9240
  ...app,
9241
9241
  meta: tierLabel(sub.tier)
9242
- }];
9243
- return app.id === "ferrlabs" || app.id === current ? [app] : [];
9242
+ } : app;
9244
9243
  });
9245
9244
  }
9246
9245
  function tierLabel(tier) {