Skip to content

Commit d2d70cb

Browse files
CopilotAllanKoder
andauthored
[WIP] Address feedback on Resource edits tab PR (#53)
* Initial plan * Fix mobile navigation to use consistent route for Resource Edits Co-authored-by: AllanKoder <74692833+AllanKoder@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: AllanKoder <74692833+AllanKoder@users.noreply.github.com>
1 parent 56ead55 commit d2d70cb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/Components/Navigation/Navbar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ const { isDark, toggleDark } = useDarkMode();
218218
</ResponsiveNavLink>
219219

220220
<ResponsiveNavLink
221-
:href="route('resources.index', { tab: 'edits' })"
222-
:active="route().current('resources.index') && route().params.tab === 'edits'"
221+
:href="route('resource_edits.index')"
222+
:active="route().current('resource_edits.index')"
223223
class="text-primaryDark dark:text-primary hover:text-primary dark:hover:text-primaryLight"
224224
>
225225
<Icon icon="mdi:pencil-box-multiple" class="mr-2" />

0 commit comments

Comments
 (0)