DEV: replace sortBy with toSorted (#1476)

This commit is contained in:
Kris 2025-06-30 16:41:59 -04:00 committed by GitHub
parent 5ca7d5f256
commit 4ad64ed3b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,7 +70,9 @@ export default class AiFeaturesList extends Component {
return [];
}
return this.args.modules.sortBy("module_name");
return this.args.modules.toSorted((a, b) =>
a.module_name.localeCompare(b.module_name)
);
}
@action