cloud-ide-element 1.0.63 → 1.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4469,6 +4469,7 @@ class CideEleFileImageDirective {
4469
4469
  altText = 'Image';
4470
4470
  fileManagerService = inject(CideEleFileManagerService);
4471
4471
  elementRef = inject(ElementRef);
4472
+ destroyRef = inject(DestroyRef);
4472
4473
  ngOnInit() {
4473
4474
  this.loadImage();
4474
4475
  }
@@ -4480,7 +4481,7 @@ class CideEleFileImageDirective {
4480
4481
  return;
4481
4482
  }
4482
4483
  console.log('🖼️ [FileImageDirective] Loading image for ID:', this.fileId);
4483
- this.fileManagerService.getFileDetails({ cyfm_id: this.fileId }).pipe(takeUntilDestroyed()).subscribe({
4484
+ this.fileManagerService.getFileDetails({ cyfm_id: this.fileId }).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
4484
4485
  next: (fileDetails) => {
4485
4486
  console.log('📋 [FileImageDirective] File details received:', fileDetails);
4486
4487
  if (fileDetails?.data?.length) {