fix bug and errors

This commit is contained in:
SlimusMinus
2026-10-06 01:00:10 +03:00
parent 73e3634ec4
commit d94a6782a4
50 changed files with 937 additions and 2642 deletions

View File

@@ -44,7 +44,7 @@ export default function PostOnFeed({ ad, onEdit, onDelete, onMarkFound, onReopen
};
const imageUrl = getImageUrl(ad.images?.[0]);
const address = ad.city;
const address = ad.address || ad.city || ad.district || ad.location;
const createdAt = ad.createdAt
? new Date(ad.createdAt).toLocaleDateString("ru-RU")
: null;