fix notifications all read

This commit is contained in:
OxSaitama 2023-10-16 17:11:26 +02:00
parent f92946b668
commit bc75c65a6c
2 changed files with 7 additions and 2 deletions

View File

@ -149,7 +149,11 @@ class FolderInformationClass extends BasePage<IPropsClass, IState> {
{this.props.isAnchored === AnchorStatus.ANCHORING && (
<Button variant={EButtonVariant.PRIMARY} disabled>
Ancrage en cours...&nbsp;&nbsp;
<div className={classes["loader-container"]}>
<div className={classes["loader"]}>
<Loader />
</div>
</div>
</Button>
)}
{this.props.isAnchored === AnchorStatus.VERIFIED_ON_CHAIN && (

View File

@ -103,7 +103,8 @@ export default class Toasts {
read: true,
});
}
this.event.emit("change", []);
this.toastList.splice(0, this.toastList.length);
this.event.emit("change", this.toastList);
}
/**