|
|
|
@ -358,7 +358,12 @@ const TimeTrack = {
@@ -358,7 +358,12 @@ const TimeTrack = {
|
|
|
|
|
color: 'blue', |
|
|
|
|
buttons: [ |
|
|
|
|
['<button><i class="fas fa-undo"></i></button>', function (instance, toast) { |
|
|
|
|
component.restoreTrashed(); |
|
|
|
|
instance.hide({ |
|
|
|
|
transitionOut: 'fadeOutUp', |
|
|
|
|
onClosing: function(instance, toast, closedBy){ |
|
|
|
|
component.restoreTrashed(); |
|
|
|
|
} |
|
|
|
|
}, toast, 'buttonName'); |
|
|
|
|
}, true] |
|
|
|
|
], |
|
|
|
|
timeout: 12000 |
|
|
|
|