On 5/6/20 12:34 PM, Stefan Reiter wrote:
> 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.rei...@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';
>  
> 

applied, thanks!

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to