mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
fix warning message display on subsequently loaded news
This commit is contained in:
@ -54,7 +54,7 @@ document.addEventListener("alpine:init", () => {
|
||||
* Query the server to know the number of news dates that would be moderated
|
||||
* if this one is moderated.
|
||||
*/
|
||||
async nbModerated() {
|
||||
async nbToModerate(): Promise<number> {
|
||||
// What we want here is the count attribute of the response.
|
||||
// We don't care about the actual results,
|
||||
// so we ask for the minimum page size possible.
|
||||
|
Reference in New Issue
Block a user