AW-6046 Angular improvement
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import { Component, OnInit,ViewChild,ElementRef,EventEmitter, Output } from '@angular/core';
|
||||
import { HttpClient, HttpParams,HttpHeaders } from "@angular/common/http";
|
||||
import {NgbModal} from "@ng-bootstrap/ng-bootstrap"
|
||||
import { ImageCroppedEvent,LoadedImage } from 'ngx-image-cropper';
|
||||
import {ImageService } from '../../services/image.service';
|
||||
import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core';
|
||||
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
||||
import { ImageCroppedEvent, LoadedImage } from 'ngx-image-cropper';
|
||||
import { ImageService } from '../../services/image.service';
|
||||
|
||||
@Component({
|
||||
selector: 'fm-edit-image-modal',
|
||||
@@ -47,7 +46,8 @@ export class EditImageModalComponent implements OnInit {
|
||||
imageCropped(event: ImageCroppedEvent) {
|
||||
this.croppedImage = event.base64;
|
||||
}
|
||||
imageLoaded(image: LoadedImage) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
imageLoaded(_image: LoadedImage) {
|
||||
this.isImageLoaded=true;
|
||||
}
|
||||
cropperReady() {
|
||||
|
Reference in New Issue
Block a user