mirror of
https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
synced 2025-10-30 01:42:19 +00:00
Changing details button color when clicked
This commit is contained in:
@@ -141,9 +141,10 @@ const DeviceCommands = () => {
|
||||
<td className="py-2">
|
||||
<CButton
|
||||
color="primary"
|
||||
variant="outline"
|
||||
variant={details.includes(index) ? "" : "outline"}
|
||||
shape="square"
|
||||
size="sm"
|
||||
|
||||
onClick={() => {
|
||||
toggleDetails(index);
|
||||
}}
|
||||
|
||||
@@ -158,7 +158,7 @@ const DeviceHealth = () => {
|
||||
<td className="py-2">
|
||||
<CButton
|
||||
color="primary"
|
||||
variant="outline"
|
||||
variant={details.includes(index) ? "" : "outline"}
|
||||
shape="square"
|
||||
size="sm"
|
||||
onClick={() => {
|
||||
|
||||
@@ -116,7 +116,7 @@ const DeviceLogs = () => {
|
||||
/>
|
||||
</CCol>
|
||||
<CCol>
|
||||
Top:
|
||||
To:
|
||||
<DatePicker
|
||||
selected={end === '' ? new Date() : new Date(end)}
|
||||
value={end === '' ? new Date() : new Date(end)}
|
||||
@@ -141,7 +141,7 @@ const DeviceLogs = () => {
|
||||
<td className="py-2">
|
||||
<CButton
|
||||
color="primary"
|
||||
variant="outline"
|
||||
variant={details.includes(index) ? "" : "outline"}
|
||||
shape="square"
|
||||
size="sm"
|
||||
onClick={() => {
|
||||
|
||||
Reference in New Issue
Block a user