Skip to content

Commit

Permalink
Merge pull request #5892 from valadas/rm-deselect-folder-change
Browse files Browse the repository at this point in the history
Fixed an issue that kept rm items selected after changing folders
  • Loading branch information
david-poindexter authored Dec 22, 2023
2 parents c3f4725 + 2dd8e84 commit baceac9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class DnnRmLeftPane {
}

private handleFolderClicked(e: CustomEvent<FolderTreeItem>): void {
state.selectedItems = [];
this.itemsClient.getFolderContent(
Number.parseInt(e.detail.data.key),
0,
Expand Down
13 changes: 13 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@ pr:

steps:

- task: PowerShell@2
displayName: 'Create Yarn Cache Folder'
inputs:
targetType: 'inline'
script: |
$yarnCacheFolder = "$(YARN_CACHE_FOLDER)"
if (-not (Test-Path $yarnCacheFolder)) {
Write-Host "Creating Yarn cache folder at $yarnCacheFolder"
New-Item -ItemType Directory -Path $yarnCacheFolder -Force
} else {
Write-Host "Yarn cache folder already exists."
}
- task: Cache@2
displayName: Cache Yarn packages
inputs:
Expand Down

0 comments on commit baceac9

Please sign in to comment.