Skip to content

Commit

Permalink
Fix ASCS/ERS cluster details classnames usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dottorblaster committed Dec 20, 2023
1 parent 2d1d2cd commit 9ecd6e3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions assets/js/pages/ClusterDetails/AscsErsClusterDetails.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, { useState, useEffect } from 'react';
import { get } from 'lodash';
import classNames from 'classnames';
import { EOS_SETTINGS, EOS_CLEAR_ALL, EOS_PLAY_CIRCLE } from 'eos-icons-react';

import { getEnsaVersionLabel } from '@lib/model/sapSystems';
Expand Down Expand Up @@ -158,9 +159,10 @@ function AscsErsClusterDetails({
disabled={startExecutionDisabled}
>
<EOS_PLAY_CIRCLE
className={`${
!startExecutionDisabled ? 'fill-white' : 'fill-gray-200'
} inline-block align-sub`}
className={classNames('inline-block align-sub', {
'fill-white': !startExecutionDisabled,
'fill-gray-200': startExecutionDisabled,
})}
/>{' '}
Start Execution
</Button>
Expand Down

0 comments on commit 9ecd6e3

Please sign in to comment.