Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
rafpaf committed Jan 18, 2024
1 parent ece4a8a commit f65cac1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions frontend/src/metabase/browse/containers/BrowseModels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,16 +271,6 @@ const getGridOptions = (
return width / columnCount;
};

// // For testing, increase the number of models
// if (models.length && models.length < 100) {
// for (let i = 0; i < 99900; i++) {
// const pushMe = _.clone(models[i]);
// pushMe.name = pushMe.name.replace(/\s\(\d+\)$/, "");
// pushMe.name += ` (${i})`;
// models.push(pushMe);
// }
// }

const sortedModels = [...models.map(model => ({ ...model }))].sort(
sortModels,
);
Expand Down

0 comments on commit f65cac1

Please sign in to comment.