This commit changes the implementation from an array to a Map,
as that makes accessing a notification for dismissal or removal
more performant.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
The deep partial type from redux had the problem that it could only be applied to records. This caused problems with primitive types and arrays.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
These buttons and their functionality only work if the user is the owner, so it doesn't make sense to make it possible to press them otherwise…
Signed-off-by: Philip Molares <philip.molares@udo.edu>
These icon replace fork awesome. A linter informs the user about the deprecation.
See https://github.com/hedgedoc/hedgedoc/issues/2929
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>