@rh-support/manage 2.1.22 → 2.1.24

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.
@@ -1 +1 @@
1
- {"version":3,"file":"PartnershipsList.d.ts","sourceRoot":"","sources":["../../../../src/components/ManagePartnerships/PartnershipsList.tsx"],"names":[],"mappings":"AA4BA,wBAAgB,gBAAgB,gBAsO/B"}
1
+ {"version":3,"file":"PartnershipsList.d.ts","sourceRoot":"","sources":["../../../../src/components/ManagePartnerships/PartnershipsList.tsx"],"names":[],"mappings":"AA4BA,wBAAgB,gBAAgB,gBAmO/B"}
@@ -100,14 +100,12 @@ export function PartnershipsList() {
100
100
  },
101
101
  {
102
102
  id: 'customer-partnership-access-level',
103
- title: t('Access level'),
103
+ title: t('Default access level'),
104
104
  sortable: false,
105
105
  cellWidth: 30,
106
106
  cell: (data) => data.partnerCaseAccess,
107
107
  },
108
- ];
109
- if (loggedInUserRights.data.isOrgAdmin()) {
110
- columns.push({
108
+ {
111
109
  id: 'partnership-delete',
112
110
  title: ' ',
113
111
  sortable: false,
@@ -115,8 +113,8 @@ export function PartnershipsList() {
115
113
  cell: (data) => (React.createElement(Button, { variant: ButtonVariant.plain, "aria-label": t('Remove partnership'), "data-tracking-id": "remove-partnership", onClick: () => removePartnership(data) },
116
114
  React.createElement(TrashIcon, null),
117
115
  React.createElement(LoadingIndicator, { isInline: true, show: isDeleting && data.accountNum === isDeletingAccountNum, size: "xs" }))),
118
- });
119
- }
116
+ },
117
+ ];
120
118
  const requestCollaborationButton = () => (React.createElement("div", { className: "toolbar-right pf-u-mt-xs" },
121
119
  React.createElement(Button, { variant: ButtonVariant.primary, isInline: true, onClick: () => setIsRequestCollabModalOpen(true), "data-tracking-id": "request-collaboration-button", isDisabled: false },
122
120
  React.createElement(Trans, null, "Request Collaboration"))));
@@ -15,7 +15,7 @@ export function ManagePartnerships() {
15
15
  React.createElement("header", { className: "pf-u-mt-md pf-u-mb-xs" },
16
16
  React.createElement("h2", null,
17
17
  React.createElement(Trans, null, "Partnerships")),
18
- React.createElement("p", null, loggedInUserRights.data.isPartner() ? (React.createElement(Trans, null, "Add, edit, or remove customer partnerships and manage your pending requests.")) : (React.createElement(Trans, null, "Confirm, filter, or remove partnerships and manage collaboration requests.")))),
18
+ React.createElement("p", null, loggedInUserRights.data.isPartner() ? (React.createElement(Trans, null, "Add, edit, or remove partnerships and manage your collaboration requests")) : (React.createElement(Trans, null, "Confirm, filter, or remove partnerships and manage collaboration requests.")))),
19
19
  React.createElement(ErrorBoundary, { errorMsgInfo: { message: t('There was an error loading partnerships list') } },
20
20
  React.createElement(ManagePartnershipsProvider, null,
21
21
  loggedInUserRights.data.isPartner() && React.createElement(Requests, null),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/manage",
3
- "version": "2.1.22",
3
+ "version": "2.1.24",
4
4
  "description": "Customer Support Manage App",
5
5
  "author": "Jordan Eudy <jeudy100@gmail.com>",
6
6
  "homepage": "",
@@ -84,11 +84,11 @@
84
84
  "@patternfly/pfe-tabs": "1.12.3",
85
85
  "@patternfly/react-core": "4.264.0",
86
86
  "@patternfly/react-table": "4.111.33",
87
- "@rh-support/components": "2.1.19",
87
+ "@rh-support/components": "2.1.20",
88
88
  "@rh-support/configs": "2.0.9",
89
- "@rh-support/react-context": "2.1.20",
89
+ "@rh-support/react-context": "2.1.21",
90
90
  "@rh-support/types": "2.0.2",
91
- "@rh-support/user-permissions": "2.1.13",
91
+ "@rh-support/user-permissions": "2.1.14",
92
92
  "@rh-support/utils": "2.1.10",
93
93
  "@types/react-beautiful-dnd": "^13.0.0",
94
94
  "i18next": ">=17.0.1",
@@ -103,5 +103,5 @@
103
103
  "defaults and supports es6-module",
104
104
  "maintained node versions"
105
105
  ],
106
- "gitHead": "b06b0e176b4f9016ce2aed18be239150c05d65c6"
106
+ "gitHead": "ed21f3ba46cbc949f50222c31acdf99dc7acaf99"
107
107
  }