Refactor user switching logic and update UI

This commit is contained in:
Andras Bacsai
2024-02-26 11:48:35 +01:00
parent 600c43827a
commit 9268f9db1d
2 changed files with 13 additions and 17 deletions

View File

@@ -4,7 +4,7 @@
{{ auth()->user()->name }}
<h3 class="pt-4">Users</h3>
<div class="flex flex-wrap gap-2">
<div class="w-96 box" wire:click="switchUser('0')">
<div class="text-white cursor-pointer w-96 box-without-bg bg-coollabs-100" wire:click="switchUser('0')">
Root
</div>
@foreach ($users as $user)