We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dba490f commit 60e1e59Copy full SHA for 60e1e59
src/renderer/components/WorkspaceTabQueryTable.vue
@@ -378,8 +378,8 @@ const sortedResults = computed(() => {
378
valA = typeof valA === 'string' ? valA.toLowerCase() : valA;
379
valB = typeof valB === 'string' ? valB.toLowerCase() : valB;
380
381
- if (!isNaN(valA)) valA = String(Number(valA));
382
- if (!isNaN(valB)) valB = String(Number(valB));
+ if (typeof valA !== 'number' && !isNaN(valA)) valA = String(Number(valA));
+ if (typeof valB !== 'number' && !isNaN(valB)) valB = String(Number(valB));
383
384
if (valA < valB) return -1 * modifier;
385
if (valA > valB) return 1 * modifier;
0 commit comments