From 854070aa39e8f35cbe48f8b29e8e133a20080bb0 Mon Sep 17 00:00:00 2001 From: Yash Rajpal <58601732+yash-rajpal@users.noreply.github.com> Date: Wed, 17 Aug 2022 22:09:35 +0530 Subject: [PATCH] [FIX] Notification preferences not updated on save (#26461) --- .../views/room/Header/ToolBox/ToolBox.tsx | 2 +- .../components/NotificationByDevice.tsx | 1 + .../server/modules/watchers/publishFields.ts | 3 ++ .../tests/e2e/channel-management.spec.ts | 20 +++++++++ .../home-flextab-notificationPreferences.ts | 41 +++++++++++++++++++ .../page-objects/fragments/home-flextab.ts | 12 ++++++ 6 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 apps/meteor/tests/e2e/page-objects/fragments/home-flextab-notificationPreferences.ts diff --git a/apps/meteor/client/views/room/Header/ToolBox/ToolBox.tsx b/apps/meteor/client/views/room/Header/ToolBox/ToolBox.tsx index b54ce28b2611f..10dc9efe6b316 100644 --- a/apps/meteor/client/views/room/Header/ToolBox/ToolBox.tsx +++ b/apps/meteor/client/views/room/Header/ToolBox/ToolBox.tsx @@ -11,7 +11,7 @@ import { useToolboxContext } from '../../lib/Toolbox/ToolboxContext'; import { useTab, useTabBarOpen } from '../../providers/ToolboxProvider'; const renderMenuOption: OptionRenderer = ({ label: { title, icon }, ...props }: any): ReactNode => ( -