Skip to content

Commit

Permalink
remove some TODOs that were for debugging, see #432
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Aug 21, 2024
1 parent bb27c40 commit 6d8dce2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/server/translationApi/getSimNamesAndTitles.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,8 @@ const getSimNamesAndTitles = ( simMetadata, isTeamMember ) => {
try {
for ( const project of simMetadata.projects ) {
for ( const sim of project.simulations ) {

// Decide whether this sim should be included in the list of those presented to the user based on the user's
// credentials and the metadata associated with the sim.

// TODO: For debug, remove soon, see https://github.com/phetsims/rosetta/issues/432.
if ( sim.name === 'normal-modes' ) {
console.log( `sim = ${JSON.stringify( sim, null, 2 )}` );
}

if ( isTeamMember || ( sim.visible || sim.isPrototype || sim.isCommunity ) ) {
simNamesAndTitles[ sim.name ] = sim.localizedSimulations.en.title;

// TODO: For debug, remove soon, see https://github.com/phetsims/rosetta/issues/432.
console.log( `adding sim.name = ${sim.name}` );
}
}
}
Expand Down

0 comments on commit 6d8dce2

Please sign in to comment.