]> git.proxmox.com Git - pmg-gui.git/commitdiff
dkim settings: improve label for signing domain source selection
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Feb 2024 10:09:29 +0000 (11:09 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Feb 2024 10:09:49 +0000 (11:09 +0100)
And make the renderer be less noise w.r.t. coding style while at it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/DKIMSettings.js

index 21f572dce626a910786e272cb83870c0eb377a4d..e5f6c76f7228de9ce8d5e1753f93b6400e513516 100644 (file)
@@ -188,10 +188,8 @@ Ext.define('PMG.DKIMSettings', {
            },
        };
 
-       var render_dkimdomain = function(value) {
-           return me.dkimdomainTextHash[value] || value;
-       };
-       me.add_combobox_row('dkim-use-domain', gettext('Get Signing Domain From'), {
+       let render_dkimdomain = value => me.dkimdomainTextHash[value] || value;
+       me.add_combobox_row('dkim-use-domain', gettext('Signing Domain Source'), {
            renderer: render_dkimdomain,
            defaultValue: 'envelope',
            comboItems: [