l-min-components 1.0.698 → 1.0.699

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.698",
3
+ "version": "1.0.699",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -147,7 +147,7 @@ const HeaderComponent = (props) => {
147
147
 
148
148
  if (window.location.pathname.includes("personal")) {
149
149
  setSelectedAccount(personalArray?.find(
150
- (item) => item?.id === defaultAcctId || item?.id === account_id ?? item
150
+ (item) => (item?.id === defaultAcctId || item?.id === account_id) ?? item
151
151
  ));
152
152
  }
153
153
  if (
@@ -164,12 +164,12 @@ const HeaderComponent = (props) => {
164
164
  }
165
165
  if (window.location.pathname.includes("instructor")) {
166
166
  setSelectedAccount(instructorArray?.find(
167
- (item) => item?.id === defaultAcctId || item?.id === account_id ?? item
167
+ (item) => (item?.id === defaultAcctId || item?.id === account_id) ?? item
168
168
  ));
169
169
  }
170
170
  if (window.location.pathname.includes("enterprise")) {
171
171
  setSelectedAccount(enterpriseArray?.find(
172
- (item) => item?.id === defaultAcctId || item?.id === account_id ?? item
172
+ (item) => (item?.id === defaultAcctId || item?.id === account_id) ?? item
173
173
  ));
174
174
  }
175
175
  // if all fails, set selected acct to developer