Skip to content

Inertia - Validate "canCreateTeams" in the responsive-nav-link #784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iBet7o opened this issue May 13, 2021 · 1 comment
Closed

Inertia - Validate "canCreateTeams" in the responsive-nav-link #784

iBet7o opened this issue May 13, 2021 · 1 comment

Comments

@iBet7o
Copy link
Contributor

iBet7o commented May 13, 2021

In the responsive-nav-link to create a team, "canCreateTeams" is not validated. So if teams are enabled, the link to create a team will always be visible for responsive design.

<jet-responsive-nav-link :href="route('teams.create')" :active="route().current('teams.create')">

@driesvints
Copy link
Member

Feel free to send in a PR, thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants