Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/sweet-ravens-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': patch
---

Fixes an issue where header toolbox items are missing the proper margin in e2ee setup room header
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { RoomToolboxActionConfig } from '../../contexts/RoomToolboxContext'
import { useRoomToolbox } from '../../contexts/RoomToolboxContext';
import { getRoomGroup } from '../../lib/getRoomGroup';

const RoomToolboxE2EESetup = () => {
const RoomToolboxE2EESetup = ({ className }: { className?: string }) => {
Comment thread
dougfabris marked this conversation as resolved.
Outdated
const { t } = useTranslation();
const toolbox = useRoomToolbox();
const room = useRoom();
Expand All @@ -29,6 +29,7 @@ const RoomToolboxE2EESetup = () => {
{actions.map(({ id, icon, title, action, disabled, tooltip }, index) => (
<HeaderToolbarAction
key={id}
className={className}
index={index}
id={id}
icon={icon}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { roomActionHooksForE2EESetup } from '../../../../ui';
import type { RoomToolboxActionConfig } from '../../contexts/RoomToolboxContext';
import { useRoomToolbox } from '../../contexts/RoomToolboxContext';

const RoomToolboxE2EESetup = () => {
const RoomToolboxE2EESetup = ({ className }: { className?: string }) => {
Comment thread
dougfabris marked this conversation as resolved.
Outdated
const { t } = useTranslation();
const toolbox = useRoomToolbox();

Expand All @@ -23,6 +23,7 @@ const RoomToolboxE2EESetup = () => {
{actions.map(({ id, icon, title, action, disabled, tooltip }, index) => (
<HeaderToolbarAction
key={id}
className={className}
index={index}
id={id}
icon={icon}
Expand Down