Merge branch 'RED-8226' into 'master'

RED-8226: changed toastr type from error to info & update common ui.

See merge request redactmanager/red-ui!323
This commit is contained in:
Valentin-Gabriel Mihai 2024-02-28 11:59:42 +01:00
commit 1ef5e1e0d2
2 changed files with 7 additions and 10 deletions

View File

@ -185,15 +185,12 @@ export class FileDataService extends EntitiesService<AnnotationWrapper, Annotati
`[ENTITY_LOG] Entity ${entry.value} (${entry.entryType}, ${entry.state}) cannot be mapped to a super type!`,
entry,
);
this.#toaster.rawError(
`Skipping entity ${entry.value} (${entry.entryType}, ${entry.state}). It has unexpected state.
Check console for details.`,
{
timeOut: 10000,
easing: 'ease-in-out',
easeTime: 500,
},
);
this.#toaster.info(`Skipping entity ${entry.value} (${entry.entryType}, ${entry.state}). Check console for details.`, {
timeOut: 10000,
easing: 'ease-in-out',
easeTime: 500,
useRaw: true,
});
}
if (!canBeMappedToASuperType) {

@ -1 +1 @@
Subproject commit a2d30f0a652650325eba1c333a2790527d054c08
Subproject commit 94e0021ed4ec080aec24cf0e963321299513e890