Show Included settings in view order

eccf253afd762e7cdeb0c2e1450d45e2710767ba

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -1Ignore whitespace
public/scripts/extensions/connection-manager/index.js+2 -1
@@ -524,8 +524,9 @@ async function renderDetailsContent(detailsContent) {
524524 }
525525
526526 let saveChanges = false;
527+ const sortByViewOrder = (a, b) => Object.keys(FANCY_NAMES).indexOf(a) - Object.keys(FANCY_NAMES).indexOf(b);
527528 const commands = profile.mode === 'cc' ? CC_COMMANDS : TC_COMMANDS;
528529 const settings = commands.slice().sort(sortByViewOrder).reduce((acc, command) => {
529530 const fancyName = FANCY_NAMES[command];
530531 acc[fancyName] = !profile.exclude.includes(command);
531532 return acc;