inboxlookup_screen 1.2.4 → 1.2.6

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": "inboxlookup_screen",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "A React component using DevExtreme",
5
5
  "main": "dist/index.js",
6
6
  "homepage": "./",
@@ -219,7 +219,11 @@ const OrdersMasterDetail = ({ dataSource, keyExpr, token, BaseUrl, ProjectId, Fl
219
219
 
220
220
  // ✅ 👉 ADD IT HERE
221
221
  const columnMapObj = meta
222
- .filter(col => col.fieldName.startsWith("DynTxtCol"))
222
+ .filter(col =>
223
+ col.fieldName.startsWith("DynTxtCol") ||
224
+ col.fieldName.startsWith("DynTxtStr")
225
+ )
226
+ // .filter(col => col.fieldName.startsWith("DynTxtCol"))
223
227
  .reduce((acc, col) => {
224
228
  acc[col.fieldName] = col.displayName;
225
229
  return acc;
@@ -256,7 +260,11 @@ const OrdersMasterDetail = ({ dataSource, keyExpr, token, BaseUrl, ProjectId, Fl
256
260
 
257
261
  // 4️⃣ Filter ONLY columns that have data 🔥
258
262
  const metaColumns = meta
259
- .filter(col => col.fieldName.startsWith("DynTxtCol"))
263
+ .filter(col =>
264
+ col.fieldName.startsWith("DynTxtCol") ||
265
+ col.fieldName.startsWith("DynTxtStr")
266
+ )
267
+ // .filter(col => col.fieldName.startsWith("DynTxtCol"))
260
268
  .filter(col => {
261
269
  return rows.some(row => {
262
270
  const value = row[col.fieldName];
@@ -580,7 +588,14 @@ const OrdersMasterDetail = ({ dataSource, keyExpr, token, BaseUrl, ProjectId, Fl
580
588
 
581
589
 
582
590
  </DataGrid>
583
- <div style={{ marginTop: "10px", fontWeight: "500" }}>
591
+ <div
592
+ style={{
593
+ display: "flex",
594
+ justifyContent: "flex-end",
595
+ marginTop: "10px",
596
+ fontWeight: "bold"
597
+ }}
598
+ >
584
599
  Total Rows: {totalCount}
585
600
  </div>
586
601
  {/* </div> */}