2023-05-16 12:38:11 +00:00
|
|
|
<div class="pt-4">
|
|
|
|
<h3>Other Teams</h3>
|
|
|
|
<div class="flex flex-col gap-2">
|
|
|
|
@foreach (auth()->user()->otherTeams() as $team)
|
2023-05-18 11:26:35 +00:00
|
|
|
<x-inputs.button wire:key="{{ $team->id }}" wire:click="switch_to('{{ $team->id }}')">Switch
|
2023-05-16 12:38:11 +00:00
|
|
|
to:
|
|
|
|
{{ $team->name }}</x-inputs.button>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
2023-03-24 13:54:17 +00:00
|
|
|
</div>
|