Skip to content
Snippets Groups Projects
Commit 6ba84635 authored by Michael Hartung's avatar Michael Hartung
Browse files

selction invert function

parent b20f52e2
Branches
Tags
No related merge requests found
...@@ -439,7 +439,7 @@ ...@@ -439,7 +439,7 @@
</a> </a>
</header> </header>
<div *ngIf="collapseSelection" class="seed-selection" [ngClass]="{'text-normal':smallStyle}"> <div *ngIf="collapseSelection" class="seed-selection" [ngClass]="{'text-normal':smallStyle}">
<div class="card-content overflow"> <!-- <div class="card-content overflow">
<table class="table selection-table" *ngIf="analysis.getCount() > 0"> <table class="table selection-table" *ngIf="analysis.getCount() > 0">
<thead> <thead>
<tr> <tr>
...@@ -507,7 +507,7 @@ ...@@ -507,7 +507,7 @@
Tissue proteins Tissue proteins
</span> </span>
</a> </a>
</footer> </footer> -->
<footer class="card-footer"> <footer class="card-footer">
<a (click)="analysis.invertSelection(currentViewNodes)" class="card-footer-item text-primary" <a (click)="analysis.invertSelection(currentViewNodes)" class="card-footer-item text-primary"
......
...@@ -162,6 +162,7 @@ export class AnalysisService { ...@@ -162,6 +162,7 @@ export class AnalysisService {
newSelection.push(node); newSelection.push(node);
} }
}); });
console.log(nodes)
this.selectedItems.clear(); this.selectedItems.clear();
for (const wrapper of newSelection) { for (const wrapper of newSelection) {
this.selectedItems.set(wrapper.nodeId, wrapper); this.selectedItems.set(wrapper.nodeId, wrapper);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment