Skip to content

Commit

Permalink
- L, P, C, S, V buttons work now
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskovar-m2ms committed Dec 13, 2023
1 parent 813b553 commit f48dc9d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,7 @@ const ObservationCmpView = memo(

const [loadingAll, setLoadingAll] = useState(false);
const [loadingLigand, setLoadingLigand] = useState(false);

const onLigand = calledFromSelectAll => {
setLoadingLigand(true);
if (calledFromSelectAll === true && selectedAll.current === true) {
Expand Down Expand Up @@ -809,6 +810,7 @@ const ObservationCmpView = memo(
};

const [loadingProtein, setLoadingProtein] = useState(false);

const onProtein = calledFromSelectAll => {
setLoadingProtein(true);
if (calledFromSelectAll === true && selectedAll.current === true) {
Expand Down Expand Up @@ -848,6 +850,7 @@ const ObservationCmpView = memo(
};

const [loadingComplex, setLoadingComplex] = useState(false);

const onComplex = calledFromSelectAll => {
setLoadingComplex(true);
if (calledFromSelectAll === true && selectedAll.current === true) {
Expand Down Expand Up @@ -886,6 +889,7 @@ const ObservationCmpView = memo(
};

const [loadingSurface, setLoadingSurface] = useState(false);

const onSurface = () => {
setLoadingSurface(true);
if (isSurfaceOn === false) {
Expand Down Expand Up @@ -921,6 +925,7 @@ const ObservationCmpView = memo(
};

const [loadingDensity, setLoadingDensity] = useState(false);

const onDensity = () => {
setLoadingDensity(true);
if (isDensityOn === false && isDensityCustomOn === false) {
Expand Down

0 comments on commit f48dc9d

Please sign in to comment.