mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-10-31 09:03:06 +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