EZQMS-459: Hoisted showNotify calculation to ActivityNotificationPresenter (#4937)

Signed-off-by: Petr Vyazovetskiy <develop.pit@gmail.com>
This commit is contained in:
Pete Anøther
2024-03-12 13:25:39 -03:00
committed by GitHub
parent 9086a280a7
commit 2e60a8dc23
3 changed files with 4 additions and 3 deletions
@@ -53,6 +53,7 @@
value={parentMessage}
skipLabel
embedded
{showNotify}
{withActions}
{actions}
{excludedActions}
@@ -65,7 +66,7 @@
value={message}
skipLabel
showEmbedded
showNotify={showNotify && !notification.isViewed}
{showNotify}
{withActions}
{actions}
{excludedActions}
@@ -36,6 +36,6 @@
{actions}
{excludedActions}
hoverable={false}
showNotify={showNotify && !notification.isViewed}
{showNotify}
{onClick}
/>
@@ -124,7 +124,7 @@
notification: value,
embedded,
withActions,
showNotify,
showNotify: showNotify ? !value.isViewed && !embedded : false,
actions,
onClick
}}