# HG changeset patch # User Lucas Thompson # Date 1496821590 -3600 # Node ID 686cf74aa0a288a1af18e5353c946af1fec98845 # Parent 372c39e798ac315d1343bd5b07df5fd41aa060dc Allow clicking whole list item to extract. Kinda makes the plus button redundant. Add guard in extract method. diff -r 372c39e798ac -r 686cf74aa0a2 src/app/feature-extraction-menu/feature-extraction-menu.component.html --- a/src/app/feature-extraction-menu/feature-extraction-menu.component.html Wed Jun 07 08:39:16 2017 +0100 +++ b/src/app/feature-extraction-menu/feature-extraction-menu.component.html Wed Jun 07 08:46:30 2017 +0100 @@ -4,7 +4,9 @@ *ngFor="let extractor of extractors" >

{{extractor.name}}

- + extension

{{output.name}}

{{output.combinedKey}}

diff -r 372c39e798ac -r 686cf74aa0a2 src/app/feature-extraction-menu/feature-extraction-menu.component.ts --- a/src/app/feature-extraction-menu/feature-extraction-menu.component.ts Wed Jun 07 08:39:16 2017 +0100 +++ b/src/app/feature-extraction-menu/feature-extraction-menu.component.ts Wed Jun 07 08:46:30 2017 +0100 @@ -90,7 +90,7 @@ if (this.onRequestOutput) { this.onRequestOutput(); } - if (info) { + if (info && !this.disabled) { this.requestOutput.emit(info); } }