@learningpool/ui 1.6.9 → 1.6.10
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.
|
@@ -205,6 +205,7 @@ var AppSwitcher = function (props) {
|
|
|
205
205
|
applicationId: applicationId,
|
|
206
206
|
applicationName: applications[0].applicationName,
|
|
207
207
|
shortName: applications[0].shortName,
|
|
208
|
+
customName: applications[0].customName,
|
|
208
209
|
internalName: applications[0].internalName,
|
|
209
210
|
url: '',
|
|
210
211
|
children: applications.map(function (a) {
|
|
@@ -222,6 +223,7 @@ var AppSwitcher = function (props) {
|
|
|
222
223
|
applicationId: applications[0].applicationId,
|
|
223
224
|
applicationName: applications[0].applicationName,
|
|
224
225
|
shortName: applications[0].shortName,
|
|
226
|
+
customName: applications[0].customName,
|
|
225
227
|
internalName: applications[0].internalName,
|
|
226
228
|
url: applications[0].url
|
|
227
229
|
});
|
|
@@ -266,8 +268,8 @@ var AppSwitcher = function (props) {
|
|
|
266
268
|
? (_jsxs("div", { children: [_jsxs(AppListHeader, { children: [_jsx("svg", { children: _jsx("image", { xlinkHref: "".concat(Constants.AssetsUrl, "suite/logo/latest/icon.svg"), width: "24", height: "24" }) }), messages['your-apps']] }), _jsx(MenuContent, __assign({ style: {
|
|
267
269
|
display: activeTab === 1 ? 'flex' : 'none'
|
|
268
270
|
} }, { children: applications.map(function (_a) {
|
|
269
|
-
var applicationId = _a.applicationId, applicationName = _a.applicationName, shortName = _a.shortName, internalName = _a.internalName, url = _a.url, children = _a.children;
|
|
270
|
-
return (_jsxs(AppListItem, { children: [url && (_jsx(AppSwitcherItem, { internalName: internalName, shortName: shortName, url: url, handleGoToAppClick: handleGoToAppClick })), !url && (_jsx(AppSwitcherItem, { internalName: internalName, shortName: shortName, handleGoToAppClick: handleGoToAppClick, applicationId: applicationId })), children && (_jsx(AppOrganisationCount, { children: children.length }))] }, applicationId));
|
|
271
|
+
var applicationId = _a.applicationId, applicationName = _a.applicationName, shortName = _a.shortName, customName = _a.customName, internalName = _a.internalName, url = _a.url, children = _a.children;
|
|
272
|
+
return (_jsxs(AppListItem, { children: [url && (_jsx(AppSwitcherItem, { internalName: internalName, shortName: shortName, customName: customName, url: url, handleGoToAppClick: handleGoToAppClick })), !url && (_jsx(AppSwitcherItem, { internalName: internalName, shortName: shortName, customName: customName, handleGoToAppClick: handleGoToAppClick, applicationId: applicationId })), children && (_jsx(AppOrganisationCount, { children: children.length }))] }, applicationId));
|
|
271
273
|
}) }))] }))
|
|
272
274
|
: null, activeTab === Constants.Tabs.ListOrgs
|
|
273
275
|
? (_jsxs(SearchContent, __assign({ style: {
|