[pve-devel] [PATCH manager] gui: never collapse notes for templates
Stefan Reiter
s.reiter at proxmox.com
Wed May 6 12:34:59 CEST 2020
There's no graphs on screen, so no reason to collapse the notes to save
space. Besides, it looked a bit funky expanding the notes on smaller
screens, since they always jumped to the bottom to fill the space...
Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
www/manager6/panel/NotesView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager6/panel/NotesView.js b/www/manager6/panel/NotesView.js
index edf38e5d..90de7b5a 100644
--- a/www/manager6/panel/NotesView.js
+++ b/www/manager6/panel/NotesView.js
@@ -105,7 +105,7 @@ Ext.define('PVE.panel.NotesView', {
me.callParent();
if (type === 'node') {
me.down('#tbar').setVisible(true);
- } else {
+ } else if (me.pveSelNode.data.template !== 1) {
me.setCollapsible(true);
me.collapseDirection = 'right';
--
2.20.1
More information about the pve-devel
mailing list