Skip to content

Commit

Permalink
Merge pull request #294 from zowe/FileFileClosingTab
Browse files Browse the repository at this point in the history
Stop the event to propagate to the parent component, when closing the file tab
  • Loading branch information
DivergentEuropeans authored Aug 19, 2022
2 parents 4e7c4bc + b731832 commit e6a1fad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Breaking change: The app now uses angular 12, making it compatible with Zowe v2 desktop and incompatible with v1 desktop.
- Enhancement: The app now contains a manifest file so that it can be installed with `zwe components install`
- Enhancement: Remove the opened file or dataset from Editor when deleted from file-tree.
- BugFix: Editor keeps the content of the file, after an opened file is closed.

## `2.9.0`
- Added the feature to update the dataset in the editor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
title="{{item.name}}"
(contextmenu)="onRightClickTab($event, item)">
<span class="filename">{{item.name}}</span>
<mat-icon class="close-file" (click)="remove.next(item)">clear</mat-icon>
<mat-icon class="close-file" (click)="remove.next(item);$event.stopPropagation()">clear</mat-icon>
<mat-icon *ngIf="item.changed" class="changed-file">fiber_manual_record</mat-icon>
</li>
</ul>
Expand Down

0 comments on commit e6a1fad

Please sign in to comment.