l-min-components 1.0.629 → 1.0.635
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,4 +1,4 @@
|
|
|
1
|
-
import React, { useEffect, useState } from "react";
|
|
1
|
+
import React, { useEffect, useState, useContext } from "react";
|
|
2
2
|
import { CloseIcon } from "./assets/svg/close";
|
|
3
3
|
import { AddIcon } from "./assets/svg/add";
|
|
4
4
|
import {
|
|
@@ -106,7 +106,7 @@ const AccountDropdown = (props) => {
|
|
|
106
106
|
)} */}
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
{envType === "live" &&
|
|
109
|
+
{/* {envType === "live" && */}
|
|
110
110
|
<>
|
|
111
111
|
{props?.developerAccountData.length > 0 && (
|
|
112
112
|
<div>
|
|
@@ -152,7 +152,7 @@ const AccountDropdown = (props) => {
|
|
|
152
152
|
</div>
|
|
153
153
|
)}
|
|
154
154
|
</>
|
|
155
|
-
}
|
|
155
|
+
{/* } */}
|
|
156
156
|
|
|
157
157
|
{envType === "staging" || envType === "localhost" ?
|
|
158
158
|
<>
|
|
@@ -192,7 +192,7 @@ const AccountDropdown = (props) => {
|
|
|
192
192
|
))}
|
|
193
193
|
</div>
|
|
194
194
|
)}
|
|
195
|
-
{props?.enterpriseAccountData?.length > 0 && (
|
|
195
|
+
{envType === "staging" || envType === "localhost" && props?.enterpriseAccountData?.length > 0 && (
|
|
196
196
|
<div>
|
|
197
197
|
<h3>Enterprise account</h3>
|
|
198
198
|
{props?.enterpriseAccountData?.map((enterpriseItem, idx) => (
|
|
@@ -228,7 +228,8 @@ const AccountDropdown = (props) => {
|
|
|
228
228
|
))}
|
|
229
229
|
</div>
|
|
230
230
|
)}
|
|
231
|
-
|
|
231
|
+
|
|
232
|
+
{envType === "staging" || envType === "localhost" && props?.personalAccountData?.length > 0 && (
|
|
232
233
|
<div>
|
|
233
234
|
<h3>Personal account</h3>
|
|
234
235
|
{props?.personalAccountData?.map((personalItem, idx) => (
|