mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-15 09:46:06 +01:00
Reset backup days count after processing the backup
This commit is contained in:
@@ -164,6 +164,11 @@ $(function () {
|
||||
toastr.options[setting] = toastrBackup[setting];
|
||||
}
|
||||
}
|
||||
|
||||
if (url.indexOf('task:backup') !== -1) {
|
||||
//Reset backup days count
|
||||
$('.backups-chart .numeric').html("0 <em>days</em>");
|
||||
}
|
||||
}
|
||||
}).always(function() {
|
||||
// Restore button
|
||||
|
||||
Reference in New Issue
Block a user