comparison 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
comparison
equal deleted inserted replaced
430:372c39e798ac 431:686cf74aa0a2
88 88
89 extract(info: ExtractorOutputInfo): void { 89 extract(info: ExtractorOutputInfo): void {
90 if (this.onRequestOutput) { 90 if (this.onRequestOutput) {
91 this.onRequestOutput(); 91 this.onRequestOutput();
92 } 92 }
93 if (info) { 93 if (info && !this.disabled) {
94 this.requestOutput.emit(info); 94 this.requestOutput.emit(info);
95 } 95 }
96 } 96 }
97 97
98 load(): void { 98 load(): void {