aboutsummaryrefslogtreecommitdiffstats
path: root/src/views/ChoreEdit/ThingTriggerSection.jsx
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-01 22:12:19 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-01 22:12:19 -0400
commit5e54da8271c7fac5062f0aca9b10e7370fd4bae2 (patch)
tree376e53b60c9639d9db80cbcd809212253f29f0d0 /src/views/ChoreEdit/ThingTriggerSection.jsx
parent6bc28be9e351662025a3eb0662f32902e64eb143 (diff)
downloaddonetick-frontend-5e54da8271c7fac5062f0aca9b10e7370fd4bae2.tar.gz
donetick-frontend-5e54da8271c7fac5062f0aca9b10e7370fd4bae2.tar.bz2
donetick-frontend-5e54da8271c7fac5062f0aca9b10e7370fd4bae2.zip
Update button re-enable timeout to 3 seconds, update thing history
Diffstat (limited to '')
-rw-r--r--src/views/ChoreEdit/ThingTriggerSection.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/views/ChoreEdit/ThingTriggerSection.jsx b/src/views/ChoreEdit/ThingTriggerSection.jsx
index 7a040ad..981f84b 100644
--- a/src/views/ChoreEdit/ThingTriggerSection.jsx
+++ b/src/views/ChoreEdit/ThingTriggerSection.jsx
@@ -6,7 +6,6 @@ import {
Card,
Chip,
FormControl,
- FormLabel,
Input,
ListItem,
ListItemContent,
@@ -91,7 +90,7 @@ const ThingTriggerSection = ({
<Typography level='h5'>
Trigger a task when a thing state changes to a desired state
</Typography>
- {things.length !== 0 && (
+ {things?.length === 0 && (
<Typography level='body-sm'>
it's look like you don't have any things yet, create a thing to
trigger a task when the state changes.