mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-11 07:47:12 +02:00
renaming available to connected
This commit is contained in:
@ -22,8 +22,8 @@ export const DeviceConnectionComponent = React.memo(
|
||||
isInstantUpdate,
|
||||
addNotification
|
||||
}: DeviceConnectionProps) => {
|
||||
const { available, connect, ...updatedProps } = props;
|
||||
const availableVal = available.value;
|
||||
const { connected, connect, ...updatedProps } = props;
|
||||
const connectedVal = connected.value;
|
||||
|
||||
let fullAccessPath = parentPath;
|
||||
if (name) {
|
||||
@ -40,7 +40,7 @@ export const DeviceConnectionComponent = React.memo(
|
||||
|
||||
return (
|
||||
<div className="deviceConnectionComponent" id={id}>
|
||||
{!availableVal && (
|
||||
{!connectedVal && (
|
||||
<div className="overlayContent">
|
||||
<div>{displayName} is currently not available!</div>
|
||||
<MethodComponent
|
||||
|
Reference in New Issue
Block a user