diff --git a/app/javascript/components/rooms/room/room_settings/ServerTagRow.jsx b/app/javascript/components/rooms/room/room_settings/ServerTagRow.jsx index a83d7083626..96e5e74cd37 100644 --- a/app/javascript/components/rooms/room/room_settings/ServerTagRow.jsx +++ b/app/javascript/components/rooms/room/room_settings/ServerTagRow.jsx @@ -17,7 +17,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { - Row, Col, Dropdown, ButtonGroup, ToggleButton + Row, Col, Dropdown, ButtonGroup, ToggleButton, } from 'react-bootstrap'; import SimpleSelect from '../../../shared_components/utilities/SimpleSelect'; @@ -58,7 +58,7 @@ export default function ServerTagRow({
{description}
- + {[ { + onChange={() => { updateAPI.mutate({ settingName: 'serverTagRequired', settingValue: false }); }} > @@ -92,7 +92,7 @@ export default function ServerTagRow({ variant="outline-danger" name="radio" checked={tagRequired === true} - onChange={(event) => { + onChange={() => { updateAPI.mutate({ settingName: 'serverTagRequired', settingValue: true }); }} >