@zeniai/client-epic-state 5.1.37-betaRD2 → 5.1.37-betaRD3
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.
|
@@ -252,7 +252,13 @@ export function getExpenseAutomationTransactionView(state) {
|
|
|
252
252
|
isAccountingProjectsEnabled,
|
|
253
253
|
projectList,
|
|
254
254
|
transactionLocalData: filteredTransactionLocalData,
|
|
255
|
-
|
|
255
|
+
// When a client-side category filter is active the server pageToken is
|
|
256
|
+
// misleading — the server has more pages but the filter already reduces
|
|
257
|
+
// what's visible. Masking pageToken here prevents the skeleton "loading"
|
|
258
|
+
// row from appearing when the user is looking at a filtered result set.
|
|
259
|
+
uiState: filters.categories.length > 0
|
|
260
|
+
? { ...uiState, pageToken: null }
|
|
261
|
+
: uiState,
|
|
256
262
|
refreshStatus,
|
|
257
263
|
saveStatus,
|
|
258
264
|
markAsNotMiscategorizedStatus,
|
|
@@ -262,7 +262,13 @@ function getExpenseAutomationTransactionView(state) {
|
|
|
262
262
|
isAccountingProjectsEnabled,
|
|
263
263
|
projectList,
|
|
264
264
|
transactionLocalData: filteredTransactionLocalData,
|
|
265
|
-
|
|
265
|
+
// When a client-side category filter is active the server pageToken is
|
|
266
|
+
// misleading — the server has more pages but the filter already reduces
|
|
267
|
+
// what's visible. Masking pageToken here prevents the skeleton "loading"
|
|
268
|
+
// row from appearing when the user is looking at a filtered result set.
|
|
269
|
+
uiState: filters.categories.length > 0
|
|
270
|
+
? { ...uiState, pageToken: null }
|
|
271
|
+
: uiState,
|
|
266
272
|
refreshStatus,
|
|
267
273
|
saveStatus,
|
|
268
274
|
markAsNotMiscategorizedStatus,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.1.37-
|
|
3
|
+
"version": "5.1.37-betaRD3",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|