Style bits redone
This commit is contained in:
@ -25,7 +25,9 @@ export function createForum(id, name){
|
||||
* List post of a specified forum
|
||||
*/
|
||||
export async function getPostsOfForum(id){
|
||||
PostsOfCurrentForum.value = await restGet("/forum/" + id);
|
||||
if(id != null){
|
||||
PostsOfCurrentForum.value = await restGet("/forum/" + id);
|
||||
}
|
||||
}
|
||||
|
||||
export function createPost(id, subject, content){
|
||||
|
Reference in New Issue
Block a user