Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 4f2a1ca

Browse files
authored
Merge pull request #118 from anehx/activity_notify_duration
Increase duration of activity split notification
2 parents d8c844b + 16a8a89 commit 4f2a1ca

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/models/activity.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,11 @@ export default Model.extend({
201201
)
202202

203203
if (moment().diff(this.get('date'), 'days') > 1) {
204-
this.get('notify').info(
205-
'The activity overlapped multiple days, which is not possible. The activity was stopped at midnight of the day it was started.'
204+
this.get(
205+
'notify'
206+
).info(
207+
'The activity overlapped multiple days, which is not possible. The activity was stopped at midnight of the day it was started.',
208+
{ closeAfter: 5000 }
206209
)
207210
}
208211
}

0 commit comments

Comments
 (0)