Fix build errors
This commit is contained in:
parent
32704c5561
commit
97e94ec154
3 changed files with 11 additions and 10 deletions
|
|
@ -26,10 +26,10 @@ export class BlocksComponent implements OnInit, OnDestroy {
|
|||
activeChild: number;
|
||||
scrollMayEnd = true;
|
||||
|
||||
@ViewChild('container') container: ElementRef;
|
||||
onlyDone: boolean;
|
||||
|
||||
@ViewChild('container') container: ElementRef;
|
||||
private subscription;
|
||||
private onlyDone: boolean;
|
||||
|
||||
@HostListener('click') cancel() {
|
||||
this.cancelService.cancelAll();
|
||||
|
|
@ -55,7 +55,7 @@ export class BlocksComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
|
||||
constructor(
|
||||
private modalService: ModalService,
|
||||
public modalService: ModalService,
|
||||
private cancelService: CancelService,
|
||||
private changeDetector: ChangeDetectorRef,
|
||||
private component: ElementRef
|
||||
|
|
|
|||
|
|
@ -7,12 +7,7 @@
|
|||
<ng-template #editableSelected>
|
||||
<input type="text" [value]="selected" (change)="changeOption(selected, $event)" />
|
||||
</ng-template>
|
||||
<img
|
||||
src="assets/arrow.svg"
|
||||
(click)="editMode && (toggle() || $event.stopPropagation())"
|
||||
[className]="isOpen ? 'upside-down' : ''"
|
||||
alt="arrow"
|
||||
/>
|
||||
<img src="assets/arrow.svg" (click)="onArrowClick($event)" [className]="isOpen ? 'upside-down' : ''" alt="arrow" />
|
||||
</div>
|
||||
|
||||
<div class="bottom-container">
|
||||
|
|
|
|||
|
|
@ -89,7 +89,13 @@ export class SelectAddComponent {
|
|||
this.editMode = false;
|
||||
}
|
||||
this.backgroundHeight = this.getBackgroundHeight();
|
||||
console.log('editable', this.editable);
|
||||
}
|
||||
|
||||
onArrowClick(event) {
|
||||
if (this.editMode) {
|
||||
this.toggle();
|
||||
event.stopPropagation();
|
||||
}
|
||||
}
|
||||
|
||||
private getBackgroundHeight(): string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue