imageFilenames and imageFilename, backend integration tests, frontend tests, removed username references
This commit is contained in:
@@ -343,9 +343,9 @@ const ForumPostDetail: React.FC = () => {
|
||||
{post.content}
|
||||
</div>
|
||||
|
||||
{post.images && post.images.length > 0 && (
|
||||
{post.imageFilenames && post.imageFilenames.length > 0 && (
|
||||
<div className="row g-2 mb-3">
|
||||
{post.images.map((image, index) => (
|
||||
{post.imageFilenames.map((image, index) => (
|
||||
<div key={index} className="col-6 col-md-4">
|
||||
<img
|
||||
src={getForumImageUrl(image)}
|
||||
|
||||
Reference in New Issue
Block a user