fixing delete listings

This commit is contained in:
orangecoding
2025-10-05 18:57:27 +02:00
parent daa4a7b8f1
commit c9bd5dc161

View File

@@ -65,7 +65,7 @@ const columns = [
type="danger"
onClick={async () => {
try {
await xhrDelete('/api/listings/', { ids: [id] });
await xhrDelete('/api/listings/', { ids: [row.id] });
Toast.success('Listing(s) successfully removed');
row.reloadTable();
} catch (error) {