[FIX] Added success message on saving notification preference (#20220)

pull/20259/head
Darshil Patel 5 years ago committed by GitHub
parent 0aee78798f
commit 4e16c4fc48
  1. 2
      client/views/room/contextualBar/NotificationPreferences/NotificationPreferences.js

@ -69,7 +69,7 @@ export default React.memo(({ tabBar, rid }) => {
const customSound = useCustomSound();
const handleClose = useMutableCallback(() => tabBar && tabBar.close());
const saveSettings = useEndpointActionExperimental('POST', 'rooms.saveNotification');
const saveSettings = useEndpointActionExperimental('POST', 'rooms.saveNotification', t('Room_updated_successfully'));
const { values, handlers, hasUnsavedChanges, commit, reset } = useForm(
{

Loading…
Cancel
Save