Skip to content
Snippets Groups Projects
Commit e4169ab0 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Andreas Fernandez
Browse files

[BUGFIX] Replace misleading instanceof check for notification actions

With #95406, an instance of check was added to the
Notification component, to prevent a TypeError
in case the action is not defined.
That was actually a sign of a bad usage (e.g. passing null),
and therefore the action is now made optional instead.

Resolves: #95420
Related: #95406
Releases: master
Change-Id: I52c519817225f0a874788095a912c808528d031d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71388


Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent dc4dbf5d
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment