Skip to content

Commit

Permalink
Comment ephemeral on subsystems frontend till it works
Browse files Browse the repository at this point in the history
  • Loading branch information
lluis-protofy-xyz committed Nov 4, 2024
1 parent 0e10266 commit d0fdfc7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ const Monitor = ({ type, name, monitorData, subsystem }) => {
alignItems="center"
backgroundColor={ephemeral ? "$color4" : "$transparent"}
hoverStyle={{ backgroundColor: ephemeral ? "$color6" : "$color2" }}
onPress={() => onToggleEphemeral(!ephemeral)}
// onPress={() => onToggleEphemeral(!ephemeral)}
>
<YStack
{/* <YStack
backgroundColor={ephemeral ? "$color8" : "$background"}
position="absolute"
padding="2px"
Expand All @@ -94,7 +94,7 @@ const Monitor = ({ type, name, monitorData, subsystem }) => {
top="-11px"
>
{ephemeral ? <MegaphoneOff size={16} color="$background" /> : <Megaphone size={16} color="$color8" />}
</YStack>
</YStack> */}
<Text>{subsystem.name}</Text>
{(loading || (value === undefined && result?.value === undefined))
? <Spinner color="$color7" />
Expand Down

0 comments on commit d0fdfc7

Please sign in to comment.