update layout for logout and info button

This commit is contained in:
2024-12-11 12:09:38 +01:00
parent a3dd5f11fc
commit 3b39b811cb
2 changed files with 4 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
{{ user.name + " " + user.surname }}
</span>
<!-- <button @click="redirectProject()" class="p-button p-button-outlined">Projects</button> -->
<button @click="auth.logout()" class="p-button p-button-danger p-button-outlined">Logout</button>
<button @click="auth.logout()" class="p-button p-button-outlined">Logout</button>
</div>
</div>
</template>

View File

@@ -43,9 +43,10 @@
<div class="flex items-center gap-2">
{{ slotProps.data.scenario.name }}
<i
class="pi pi-info-circle text-blue-500 cursor-pointer"
v-tooltip="slotProps.data.scenario.description"
class="pi pi-info-circle text-violet-600 cursor-pointer"
v-tooltip="slotProps.data?.scenario?.description || 'No description available'"
></i>
<!-- controllare il tooltip -->
</div>
</template>
</Column>