[pmg-devel] [PATCH] system options: fix eslint error

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Feb 26 13:56:09 CET 2025


Am 26.02.25 um 13:45 schrieb Gabriel Goller:
> Linter error "line too long".
> 
> Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
> ---
>  js/SystemOptions.js | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/js/SystemOptions.js b/js/SystemOptions.js
> index cc098ceac907..7a933cd0ec26 100644
> --- a/js/SystemOptions.js
> +++ b/js/SystemOptions.js
> @@ -76,7 +76,11 @@ Ext.define('PMG.SystemOptions', {
>  			{ deleteEmpty: true, defaultValue: Proxmox.Utils.noneText });
>  
>  	me.add_text_row('admin-mail-from', gettext("'From:' for Admin Mail"),
> -			{ deleteEmpty: true, defaultValue: Proxmox.Utils.noneText, renderer: Ext.htmlEncode });
> +			{
> +			    deleteEmpty: true,
> +			    defaultValue: Proxmox.Utils.noneText,
> +			    renderer: Ext.htmlEncode,
> +			});
>  
>  	me.add_proxy_row('http_proxy', gettext("HTTP proxy"));
>  

FYI, this patch is obsolete as 0012b5d ("fix indentation and code style
for various Options grid") was pushed a bit over two hours ago.




More information about the pmg-devel mailing list