diff --git a/durablefunctionsmonitor-vscodeext/src/MonitorTreeDataProvider.ts b/durablefunctionsmonitor-vscodeext/src/MonitorTreeDataProvider.ts index 63b556d..0cdaecd 100644 --- a/durablefunctionsmonitor-vscodeext/src/MonitorTreeDataProvider.ts +++ b/durablefunctionsmonitor-vscodeext/src/MonitorTreeDataProvider.ts @@ -254,6 +254,7 @@ export class MonitorTreeDataProvider implements vscode.TreeDataProvider n.label! > node.label!); + result.splice(index < 0 ? result.length : index, 0, node); + } + } + } + } catch (err: any) { result.push({ @@ -390,42 +425,6 @@ export class MonitorTreeDataProvider implements vscode.TreeDataProvider n.label! > node.label!); - result.splice(index < 0 ? result.length : index, 0, node); - } - } - } - break; } @@ -1009,6 +1008,11 @@ export class MonitorTreeDataProvider implements vscode.TreeDataProvider