]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/dc/ACMEPluginEdit.js
ui: realm: clarify that the sync jobs really are for the realm
[pve-manager.git] / www / manager6 / dc / ACMEPluginEdit.js
index bf4652f114b0c34b674c5bcce6c3120e73e6abdb..570b4dd20038c49ddd2b68153e672b8deae0cf4d 100644 (file)
@@ -58,7 +58,8 @@ Ext.define('PVE.dc.ACMEPluginEditor', {
                }
                // create custom fields according to schema
                let gotSchemaField = false;
-               for (const [name, definition] of Object.entries(schema.fields).sort((a, b) => a[0].localeCompare(b[0]))) {
+               let cmp = (a, b) => a[0].localeCompare(b[0]);
+               for (const [name, definition] of Object.entries(schema.fields).sort(cmp)) {
                    let xtype;
                    switch (definition.type) {
                        case 'string':