[pbs-devel] [PATCH proxmox-backup] ui: don't show reset button on zfs creation

Dominik Csapak d.csapak at proxmox.com
Thu Sep 7 14:19:32 CEST 2023

the reset button only makes sense for editing existing entries,
not for creating new.

This brings it inline with the ZFS create window from PVE.

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
this is just a short term improvement. ideally we can reuse the same
window for pve and pbs in the future.

 www/window/ZFSCreate.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/window/ZFSCreate.js b/www/window/ZFSCreate.js
index 28b90d82..71f88d9f 100644
--- a/www/window/ZFSCreate.js
+++ b/www/window/ZFSCreate.js
@@ -5,6 +5,7 @@ Ext.define('PBS.window.CreateZFS', {
     subject: 'ZFS',
     showProgress: true,
+    isCreate: true,
     onlineHelp: 'chapter_zfs',

More information about the pbs-devel mailing list