thirdparty gray label fix
This commit is contained in:
parent
f2112365b8
commit
25176ecdc1
@ -82,7 +82,7 @@ const ThirpartyComboBox = ({
|
||||
setIsScrollLocked,
|
||||
}) => {
|
||||
const dropdownRef = useRef(null);
|
||||
let isGrayLabel = true;
|
||||
const [isGrayLabel, setIsGrayLabel] = useState(true);
|
||||
|
||||
const [isOpen, setIsOpen] = useState(false);
|
||||
const toggleIsOpen = () => {
|
||||
@ -97,7 +97,7 @@ const ThirpartyComboBox = ({
|
||||
const [dropdownDirection, setDropdownDirection] = useState("bottom");
|
||||
|
||||
const setStorageLocaiton = (thirparty) => {
|
||||
isGrayLabel = false;
|
||||
setIsGrayLabel(false);
|
||||
setRoomParams({ ...roomParams, storageLocation: thirparty });
|
||||
setIsOpen(false);
|
||||
setIsScrollLocked(false);
|
||||
|
Loading…
Reference in New Issue
Block a user