l-min-components 1.7.1386 → 1.7.1388
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/package.json
CHANGED
|
@@ -424,16 +424,15 @@ const AppMainLayout = ({ children }) => {
|
|
|
424
424
|
)}
|
|
425
425
|
</LeftLayout>
|
|
426
426
|
<CenterLayout isOpen={isOpen} style={centerLayoutStyle}>
|
|
427
|
-
{
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
)}
|
|
427
|
+
{activeAccountType === "instructor" &&
|
|
428
|
+
!accountIsPendingDeletion && (
|
|
429
|
+
<InstructorAccountSwitcher
|
|
430
|
+
// setAccountType={setAffiliatesActive}
|
|
431
|
+
generalData={generalData}
|
|
432
|
+
onChange={(v) => setAffiliateAccount(v)}
|
|
433
|
+
setIsAffiliateLoading={setIsAffiliateLoading}
|
|
434
|
+
/>
|
|
435
|
+
)}
|
|
437
436
|
{!generalData?.selectedAccount ? (
|
|
438
437
|
<BlankState />
|
|
439
438
|
) : accountIsPendingDeletion &&
|
|
@@ -126,9 +126,19 @@ export const getLeftRoutes = (accoutType) => {
|
|
|
126
126
|
icon: <DictionaryIcon />,
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
|
-
path:
|
|
130
|
-
|
|
131
|
-
|
|
129
|
+
path: `${
|
|
130
|
+
window.location.hostname.includes("staging")
|
|
131
|
+
? `https://demo-test-01.learngual${
|
|
132
|
+
window.location.hostname.includes("ca")
|
|
133
|
+
? ".ca/type-select"
|
|
134
|
+
: ".com/type-select"
|
|
135
|
+
}`
|
|
136
|
+
: `https://demo.learngual${
|
|
137
|
+
window.location.hostname.includes("ca")
|
|
138
|
+
? ".ca/type-select"
|
|
139
|
+
: ".com/type-select"
|
|
140
|
+
}`
|
|
141
|
+
}`,
|
|
132
142
|
label: "Demo",
|
|
133
143
|
icon: <CompuetrerIcon />,
|
|
134
144
|
},
|