Closed WannianMEI closed 1 month ago
Do you need me fix @profile_bp.post("/comments/delete/
Do you need me fix @profile_bp.post("/comments/delete/int:comment_id") and @profile_bp.post("/posts/delete/int:post_id") ? Or do you have any idea?
I'll fix it:
Do you need me fix @profile_bp.post("/comments/delete/int:comment_id") and @profile_bp.post("/posts/delete/int:post_id") ? Or do you have any idea?
I'll fix it:
- add a variable tab to mark the switching state of posts and comments.
- js to read the tab status.
Ok I will review your code
Bug: Delete comment: click the homepage avatar -> click profile -> you can manage the current user's posts and comments. When clicking delete button in the comment column, it will automatically jump to the posts col