tests:adds testing to portfolio access policy
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
</x-slot:logo>
|
||||
|
||||
<h1 class="text-2xl font-bold mb-4">{{ __('Hey again!') }} 👋</h1>
|
||||
<p class="mb-2">{{ __('Before you can get started with Investbrain, you\'ll want to create a password:') }}</p>
|
||||
<p class="mb-2">{{ __('Before you can get started with Investbrain, let\'s complete your profile:') }}</p>
|
||||
|
||||
@livewire('invited-onboarding-form', [
|
||||
'portfolio' => $portfolio,
|
||||
|
||||
@@ -126,6 +126,7 @@ new class extends Component {
|
||||
</label>
|
||||
|
||||
<div class="border-primary border rounded-sm px-2 py-5 mb-2">
|
||||
@if ($portfolio->owner)
|
||||
<x-list-item
|
||||
:item="$portfolio->owner"
|
||||
avatar="profile_photo_url"
|
||||
@@ -145,6 +146,7 @@ new class extends Component {
|
||||
{{ __('Owner') }}
|
||||
</x-slot:sub-value>
|
||||
</x-list-item>
|
||||
@endif
|
||||
|
||||
@foreach (collect($this->portfolio?->users)->where('pivot.owner', '!=', 1) as $user)
|
||||
<x-list-item
|
||||
|
||||
Reference in New Issue
Block a user