120243: Fix dev compilation issues after upgrade

This commit is contained in:
Andreas Awouters
2024-11-19 12:56:46 +01:00
committed by Yury Bondarenko
parent d87b375a35
commit 76e1a39208
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ import {
PipeTransform,
} from '@angular/core';
// eslint-disable-next-line import/no-namespace
import * as fileSize from 'filesize';
import fileSize from 'filesize';
/*
* Convert bytes into largest possible unit.

View File

@@ -278,7 +278,7 @@ export class SystemWideAlertFormComponent implements OnInit {
this.back();
}
} else {
this.notificationsService.error(this.translateService.get(`${messagePrefix}.error`, response.errorMessage));
this.notificationsService.error(this.translateService.get(`${messagePrefix}.error`));
}
});
}