Rename route attribute to settingsRoute attribute.
This commit is contained in:
parent
62e67eff89
commit
76d631d7ba
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ public function mount()
|
||||||
{
|
{
|
||||||
$this->private_keys = PrivateKey::ownedByCurrentTeam()->get();
|
$this->private_keys = PrivateKey::ownedByCurrentTeam()->get();
|
||||||
$this->projects = Project::ownedByCurrentTeam()->get()->map(function ($project) {
|
$this->projects = Project::ownedByCurrentTeam()->get()->map(function ($project) {
|
||||||
$project->route = route('project.edit', ['project_uuid' => $project->uuid]);
|
$project->settingsRoute = route('project.edit', ['project_uuid' => $project->uuid]);
|
||||||
|
|
||||||
return $project;
|
return $project;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center justify-center gap-2 pt-4 pb-2 mr-4 text-xs lg:py-0 lg:justify-normal">
|
<div class="flex items-center justify-center gap-2 pt-4 pb-2 mr-4 text-xs lg:py-0 lg:justify-normal">
|
||||||
<a class="mx-4 font-bold hover:underline"
|
<a class="mx-4 font-bold hover:underline"
|
||||||
:href="item.route">
|
:href="item.settingsRoute">
|
||||||
Settings
|
Settings
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue