Skip to content

Commit 6c2a471

Browse files
committed
fix: Properly indicate active navigation entry
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 parent 62bc7d4 commit 6c2a471

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/NavigationGroceryListItem.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
:icon="icon"
44
:editable="true"
55
:edit-label="rename"
6-
:to="{ name: 'list', params: { id: groceryList.id.toString() } }"
7-
:class="{active: currentGroceryListId === groceryList.id}"
6+
:to="{ name: 'list', params: { listId: groceryList.id.toString() } }"
87
@click="openGroceryList(groceryList)"
98
@update:name="onRename">
109
<template #actions>

0 commit comments

Comments
 (0)