File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 121121
122122 return { description, ... fields[key], ... (extendedFields[key] || []) };
123123 });
124+
125+ // Sort the config properties alphabetically to make them easier to find when not using config categories
126+ if (! this .displayCategories ) this .fields = this .fields .sort ((a , b ) => a .paramName .localeCompare (b .paramName ));
124127 } catch (err) {
125128 this .$error (err .message );
126129 } finally {
Original file line number Diff line number Diff line change 124124
125125 return { description, ... fields[key], ... (extendedFields[key] || []) };
126126 });
127+
128+ // Sort the config properties alphabetically to make them easier to find when not using config categories
129+ if (! this .displayCategories ) this .fields = this .fields .sort ((a , b ) => a .paramName .localeCompare (b .paramName ));
127130 } catch (err) {
128131 this .$error (err .message );
129132 } finally {
You can’t perform that action at this time.
0 commit comments