mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-17 20:58:23 -04:00
fix: add sortKey to normalized dynamic fields to prevent flaky comparisons
Co-authored-by: CurryYangxx <163384738+CurryYangxx@users.noreply.github.com>
This commit is contained in:
@@ -267,7 +267,7 @@ export class DataPage {
|
||||
const result: any = {};
|
||||
for (const [key, value] of Object.entries(obj)) {
|
||||
// Replace dynamic fields with placeholder
|
||||
if (['id', '_id', 'created', 'modified', 'metaSortKey'].includes(key)) {
|
||||
if (['id', '_id', 'created', 'modified', 'metaSortKey', 'sortKey'].includes(key)) {
|
||||
result[key] = '{{dynamic}}';
|
||||
} else if (key === 'meta' && value && typeof value === 'object') {
|
||||
// Handle meta object specially
|
||||
|
||||
Reference in New Issue
Block a user