Skip to content

Commit

Permalink
make tags Dropdown drop up + cleanpu
Browse files Browse the repository at this point in the history
  • Loading branch information
Ithanil committed Apr 29, 2024
1 parent cba56ba commit fa01065
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -58,7 +58,7 @@ export default function ServerTagRow({
<Row>
<h6 className="text-brand">{description}</h6>
<Col>
<SimpleSelect defaultValue={getTagName(currentTag)}>
<SimpleSelect defaultValue={getTagName(currentTag)} dropUp>
{[
<Dropdown.Item
key=""
Expand All @@ -79,7 +79,7 @@ export default function ServerTagRow({
variant="outline-success"
name="radio"
checked={tagRequired === false}
onChange={(event) => {
onChange={() => {
updateAPI.mutate({ settingName: 'serverTagRequired', settingValue: false });
}}
>
Expand All @@ -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 });
}}
>
Expand Down

0 comments on commit fa01065

Please sign in to comment.