skip backups for current session in browse backups dialog
This commit is contained in:
parent
6b7f04b63e
commit
170a7e4731
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@
|
|||
var sessionItemTemplate = pskl.utils.Template.get('session-list-item');
|
||||
var html = '';
|
||||
sessions.forEach(function (session) {
|
||||
if (session.id === pskl.app.sessionId) {
|
||||
// Do not show backups for the current session.
|
||||
return;
|
||||
}
|
||||
var view = {
|
||||
id: session.id,
|
||||
name: session.name,
|
||||
|
|
Loading…
Reference in a new issue