cat-qw-lib 2.6.65 → 2.6.67
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/fesm2022/cat-qw-lib.mjs
CHANGED
|
@@ -8398,8 +8398,7 @@ class QueueContainerComponent extends BaseContainerComponent {
|
|
|
8398
8398
|
});
|
|
8399
8399
|
filterQueryString = existingParams.toString();
|
|
8400
8400
|
}
|
|
8401
|
-
|
|
8402
|
-
this.queueService.getPaginatedQueueRecords(apiUrl, this.currentSearchTerm, targetPage, targetLimit, filterQueryString, this.sortBy, this.getSortOrderString(this.sortOrder), !forceRefresh).pipe(finalize(() => {
|
|
8401
|
+
this.queueService.getPaginatedQueueRecords(this.selectedQueue.apiConfig, this.currentSearchTerm, targetPage, targetLimit, filterQueryString, this.sortBy, this.getSortOrderString(this.sortOrder), !forceRefresh).pipe(finalize(() => {
|
|
8403
8402
|
if (this.latestRequestSnapshot === requestSnapshot) {
|
|
8404
8403
|
this.isShowSkeleton = false;
|
|
8405
8404
|
}
|
|
@@ -8457,17 +8456,6 @@ class QueueContainerComponent extends BaseContainerComponent {
|
|
|
8457
8456
|
}
|
|
8458
8457
|
});
|
|
8459
8458
|
}
|
|
8460
|
-
replaceWithLocalhost(url) {
|
|
8461
|
-
try {
|
|
8462
|
-
const parsed = new URL(url);
|
|
8463
|
-
parsed.host = 'localhost:3300';
|
|
8464
|
-
parsed.protocol = 'http:'; // ensure localhost uses http
|
|
8465
|
-
return parsed.toString();
|
|
8466
|
-
}
|
|
8467
|
-
catch (e) {
|
|
8468
|
-
return url; // fallback if invalid URL
|
|
8469
|
-
}
|
|
8470
|
-
}
|
|
8471
8459
|
getSortOrderString(order) {
|
|
8472
8460
|
if (order === 1)
|
|
8473
8461
|
return 'asc';
|