mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-20 13:29:37 +02:00
Implement user-specific category filtering in AdventureViewSet and update AdventureCard to display category details
This commit is contained in:
parent
ae92fc2027
commit
42f07dc2fb
4 changed files with 21 additions and 6 deletions
|
@ -28,7 +28,10 @@
|
|||
let newVisit: VisitedRegion = {
|
||||
id: visit_id,
|
||||
region: region_id,
|
||||
user_id: user_id
|
||||
user_id: user_id,
|
||||
longitude: 0,
|
||||
latitude: 0,
|
||||
name: ''
|
||||
};
|
||||
addToast('success', `Visit to ${region.name} marked`);
|
||||
dispatch('visit', newVisit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue