[pbs-devel] [PATCH proxmox-backup 1/2] ui: tape: fix formatting

Dominik Csapak d.csapak at proxmox.com
Tue Apr 25 15:59:55 CEST 2023


this is a separate statement, it should be on a separate line

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/tape/window/TapeRestore.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/tape/window/TapeRestore.js b/www/tape/window/TapeRestore.js
index 70337ff3..48119ac6 100644
--- a/www/tape/window/TapeRestore.js
+++ b/www/tape/window/TapeRestore.js
@@ -189,7 +189,8 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
 		    let snapshot = snapshotOrDatastore;
 		    let match = snapshot.split(':');
 		    datastore = match[0];
-		} datastores[datastore] = true;
+		}
+		datastores[datastore] = true;
 	    });
 
 	    me.setDataStores(Object.keys(datastores));
-- 
2.30.2






More information about the pbs-devel mailing list