Skip to content

Commit

Permalink
Remove lower limit on orator results
Browse files Browse the repository at this point in the history
  • Loading branch information
khcr committed Jan 13, 2024
1 parent 0c2e070 commit d2ffff0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions app/javascript/controllers/orators/list_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@ import ListController from "controllers/list_controller"
export default class extends ListController {
static targets = [...ListController.targets, "itemTemplate", "title", "themes", "link"];

updateItems(items) {
if (items.length < 10) {
this.items = []
} else {
this.items = items;
}
this.update();
}

updateList(items) {
let content = [];
items.forEach((c) => {
Expand All @@ -32,7 +23,7 @@ export default class extends ListController {
}

get notFoundMessage() {
return `<div class="soon">Bientôt disponible, la liste est en train de se remplir...</div>`
return `<div class="soon">Aucun orateur trouvé.</div>`
}

}

0 comments on commit d2ffff0

Please sign in to comment.