Update to Angular v19 and fixing #3
@@ -74,7 +74,7 @@
|
|||||||
aria-label="Rotation"
|
aria-label="Rotation"
|
||||||
(click)="rotate()"
|
(click)="rotate()"
|
||||||
class="rotate cursor"
|
class="rotate cursor"
|
||||||
svgIcon="undo"
|
svgIcon="rotate"
|
||||||
></mat-icon>
|
></mat-icon>
|
||||||
<div class="imgbox">
|
<div class="imgbox">
|
||||||
<img
|
<img
|
||||||
|
|||||||
@@ -11,12 +11,14 @@ import { trigger, state, style } from "@angular/animations";
|
|||||||
import { CommonModule } from "@angular/common";
|
import { CommonModule } from "@angular/common";
|
||||||
import { MatIconModule } from "@angular/material/icon";
|
import { MatIconModule } from "@angular/material/icon";
|
||||||
import { MatFormFieldModule } from "@angular/material/form-field";
|
import { MatFormFieldModule } from "@angular/material/form-field";
|
||||||
|
import { TranslateModule } from "@ngx-translate/core";
|
||||||
|
import { MatButtonModule } from "@angular/material/button";
|
||||||
|
import { MatInputModule } from "@angular/material/input";
|
||||||
|
|
||||||
import { ImageService } from "../../services/image.service";
|
import { ImageService } from "../../services/image.service";
|
||||||
import { ServiceComm } from "../../services/service-comm.service";
|
import { ServiceComm } from "../../services/service-comm.service";
|
||||||
import { ImageResp } from "../../models/image";
|
import { ImageResp } from "../../models/image";
|
||||||
import { AddAction } from "../../models/add-action.enum";
|
import { AddAction } from "../../models/add-action.enum";
|
||||||
import { TranslateModule } from "@ngx-translate/core";
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-list-of-images",
|
selector: "app-list-of-images",
|
||||||
@@ -38,6 +40,8 @@ import { TranslateModule } from "@ngx-translate/core";
|
|||||||
MatFormFieldModule,
|
MatFormFieldModule,
|
||||||
ReactiveFormsModule,
|
ReactiveFormsModule,
|
||||||
MatTableModule,
|
MatTableModule,
|
||||||
|
MatButtonModule,
|
||||||
|
MatInputModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class ListOfImagesComponent implements OnInit {
|
export class ListOfImagesComponent implements OnInit {
|
||||||
@@ -54,7 +58,7 @@ export class ListOfImagesComponent implements OnInit {
|
|||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private serviceApi: ImageService,
|
private serviceApi: ImageService,
|
||||||
private serviceComm: ServiceComm
|
private serviceComm: ServiceComm,
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user