Skip to content

Commit b5abb9a

Browse files
authored
Merge branch 'develop' into feat/openapi-webdav
2 parents 99662ce + df48946 commit b5abb9a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/meteor/client/sidebar/header/CreateChannel/CreateChannelModal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ const CreateChannelModal = ({ teamId = '', mainRoom, onClose, reload }: CreateCh
323323
disabled={e2eDisabled || federated}
324324
onChange={onChange}
325325
aria-describedby={`${encryptedId}-hint`}
326-
aria-labelledby='Encrypted_channel_Label'
327326
/>
328327
)}
329328
/>
@@ -360,7 +359,7 @@ const CreateChannelModal = ({ teamId = '', mainRoom, onClose, reload }: CreateCh
360359
name='broadcast'
361360
render={({ field: { onChange, value, ref } }): ReactElement => (
362361
<ToggleSwitch
363-
aria-describedby={`${broadcastId}-hint`}
362+
aria-describedby={broadcast ? `${broadcastId}-hint` : undefined}
364363
id={broadcastId}
365364
ref={ref}
366365
checked={value}

0 commit comments

Comments
 (0)