warrior преди 4 месеца
родител
ревизия
d371d4127e
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      projects/live-app/src/app/components/image-preview/image-preview.component.ts

+ 3 - 2
projects/live-app/src/app/components/image-preview/image-preview.component.ts

@@ -1,13 +1,14 @@
 import { CommonModule } from '@angular/common';
 import { Component, Input, OnInit, AfterViewInit, ElementRef, ViewChild, ChangeDetectorRef } from '@angular/core';
-import { GestureController, Gesture, IonicModule } from '@ionic/angular';
+import { GestureController, Gesture } from '@ionic/angular';
+import { ionicStandaloneModules } from '../../../modules/ionic-standalone.modules';
 
 @Component({
   selector: 'app-image-preview',
   templateUrl: './image-preview.component.html',
   styleUrls: ['./image-preview.component.scss'],
   standalone: true,
-  imports: [IonicModule, CommonModule],
+  imports: [...ionicStandaloneModules, CommonModule],
 })
 export class ImagePreviewComponent implements OnInit, AfterViewInit {
   @Input() image: string = '';