Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 859ecf35 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

EDELIVERY-14521 [UI Document editor] clear selected subresource on resource select

parent bc2219ad
No related branches found
No related tags found
No related merge requests found
Pipeline #271137 failed
......@@ -108,6 +108,8 @@ export class ResourceDetailsPanelComponent implements BeforeLeaveGuard {
async onShowButtonDocumentClicked() {
// set selected resource
this.editResourceService.selectedResource = this.resource;
// clear selected subresource
this.editResourceService.selectedSubresource = null;
let node: NavigationNode = await this.createNewDocumentNavigationNode();
this.navigationService.selected.children = [node]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment