mirror of
https://github.com/kerberos-io/agent.git
synced 2026-08-28 15:58:33 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3341e99af1 | ||
|
|
ced6e678ec | ||
|
|
340a5d7ef6 |
@@ -139,7 +139,7 @@ func ProcessMotion(motionCursor *pubsub.QueueCursor, configuration *models.Confi
|
||||
hour := now.Hour()
|
||||
minute := now.Minute()
|
||||
second := now.Second()
|
||||
if config.Timetable != nil {
|
||||
if config.Timetable != nil && len(config.Timetable) > 0 {
|
||||
timeInterval := config.Timetable[int(weekday)]
|
||||
if timeInterval != nil {
|
||||
start1 := timeInterval.Start1
|
||||
|
||||
@@ -328,8 +328,7 @@ class Settings extends React.Component {
|
||||
if (config) {
|
||||
dispatchVerifyOnvif(
|
||||
cameraConfig,
|
||||
(data) => {
|
||||
console.log(data);
|
||||
() => {
|
||||
this.setState({
|
||||
verifyOnvifSuccess: true,
|
||||
verifyOnvifError: false,
|
||||
|
||||
Reference in New Issue
Block a user