diff src/app/feature-extraction-menu/feature-extraction-menu.component.ts @ 431:686cf74aa0a2

Allow clicking whole list item to extract. Kinda makes the plus button redundant. Add guard in extract method.
author Lucas Thompson <dev@lucas.im>
date Wed, 07 Jun 2017 08:46:30 +0100
parents 8fee76ab8e90
children 48904aa87ba3
line wrap: on
line diff
--- 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);
     }
   }