l-min-components 1.0.1076 → 1.0.1078

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.1076",
3
+ "version": "1.0.1078",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -354,7 +354,8 @@ const AppMainLayout = () => {
354
354
  !window.location.pathname.includes("manage-teams") &&
355
355
  !window.location.pathname.includes("file-manager") ? (
356
356
  <InstructorRightBar />
357
- ) : window.location.pathname.includes("developer") ? (
357
+ ) : userPlanData?.data?.current_plan?.account_type ===
358
+ "DEVELOPER" ? (
358
359
  <DeveloperBanner findText={findText} />
359
360
  ) : (
360
361
  <Banner findText={findText} />
@@ -408,9 +408,7 @@ const HeaderComponent = (props) => {
408
408
  }, [notificationMarkReadData?.response]);
409
409
 
410
410
  // When Developer and on staging
411
- const isDeveloper =
412
- generalData?.selectedAccount?.type === "DEVELOPER" &&
413
- window.location.hostname.includes("staging");
411
+ const isDeveloper = generalData?.selectedAccount?.type === "DEVELOPER";
414
412
 
415
413
  const isPendingDelete =
416
414
  generalData?.selectedAccount?.pending_delete === true &&
@@ -492,7 +490,7 @@ const HeaderComponent = (props) => {
492
490
  {props.findText("Notifications")}
493
491
  </a>
494
492
  </li>
495
- <li style={{ marginLeft: "20%", cursor: "pointer" }}>
493
+ {/* <li style={{ marginLeft: "20%", cursor: "pointer" }}>
496
494
  <a
497
495
  onClick={() => {
498
496
  window.location.href = "/help-center";
@@ -503,7 +501,7 @@ const HeaderComponent = (props) => {
503
501
  >
504
502
  <QuestionMark /> {props?.findText("Help")}
505
503
  </a>
506
- </li>
504
+ </li> */}
507
505
  </Nav>
508
506
  {/*
509
507
  <Help>