Skip to content

Commit

Permalink
Fix minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
startsev2000 committed Sep 27, 2024
1 parent 8728569 commit 5b7bd10
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions front-end/src/store/modules/reference.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ class Reference extends VuexModule {
return await getFetchRequest(
getRooms,
data => {
console.log(data);
data.sort((a, b) => {
const titleA = a.title;
const titleB = b.title;
Expand All @@ -385,9 +384,6 @@ class Reference extends VuexModule {
return 1;
}

if (titleA < titleB) { return -1; }
if (titleA > titleB) { return 1; }

return titleA.localeCompare(titleB);
});
this.SET_ROOMS(data);
Expand Down

0 comments on commit 5b7bd10

Please sign in to comment.