Skip to content

Commit

Permalink
Impl
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroFish91 committed Oct 16, 2023
1 parent 0d5bf88 commit 6d85462
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions utils/src/activityLog/activities/ExecuteActivity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export class ExecuteActivity<TContext extends types.ExecuteActivityContext = typ
return {
label: this.label,
getChildren: activityResult || this.context.activityChildren ? ((parent: AzExtParentTreeItem) => {

if (this.context.activityChildren) {
return this.context.activityChildren.reverse();
parent.compareChildrenImpl = () => 0; // Don't sort
return this.context.activityChildren;
}

const ti = new GenericTreeItem(parent, {
Expand All @@ -52,7 +52,8 @@ export class ExecuteActivity<TContext extends types.ExecuteActivityContext = typ
label: this.label,
getChildren: (parent: AzExtParentTreeItem) => {
if (this.context.activityChildren) {
return this.context.activityChildren.reverse();
parent.compareChildrenImpl = () => 0; // Don't sort
return this.context.activityChildren;
}
return [
new GenericTreeItem(parent, {
Expand Down

0 comments on commit 6d85462

Please sign in to comment.