Update button re-enable timeout to 3 seconds, update thing history
This commit is contained in:
parent
6bc28be9e3
commit
5e54da8271
9 changed files with 1004 additions and 92 deletions
|
@ -506,7 +506,7 @@ const ChoreEdit = () => {
|
|||
</FormControl>
|
||||
)}
|
||||
</Box>
|
||||
{!['once', 'no_repeat'].includes(frequencyType) && (
|
||||
{!['once', 'no_repeat', 'trigger'].includes(frequencyType) && (
|
||||
<Box mt={2}>
|
||||
<Typography level='h4'>Scheduling Preferences: </Typography>
|
||||
<Typography level='h5'>
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue