Fix LangSelector and ClientCard z-index (#2434)

fix client card
This commit is contained in:
Bernd Storath
2026-01-27 08:24:53 +01:00
committed by GitHub
parent c732f149e6
commit 1a5a0180ea
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<ClientCardCharts :client="client" />
<div
class="relative z-10 flex flex-col justify-between gap-3 px-3 py-3 sm:flex-row md:py-5"
class="relative flex flex-col justify-between gap-3 px-3 py-3 sm:flex-row md:py-5"
>
<div class="flex w-full items-center gap-3 md:gap-4">
<ClientCardAvatar :client="client" />
+5 -4
View File
@@ -66,10 +66,11 @@ export const useClientsStore = defineStore('Clients', () => {
const clientPersist = clientsPersist.value[client.id]!;
// Debug
// client.transferRx = this.clientsPersist[client.id].transferRxPrevious + Math.random() * 1000;
// client.transferTx = this.clientsPersist[client.id].transferTxPrevious + Math.random() * 1000;
// client.latestHandshakeAt = new Date();
// this.requiresPassword = true;
/* client.transferRx =
clientPersist.transferRxPrevious + Math.random() * 1000;
client.transferTx =
clientPersist.transferTxPrevious + Math.random() * 1000;
client.latestHandshakeAt = new Date().toISOString(); */
clientPersist.transferRxCurrent =
(client.transferRx ?? 0) - clientPersist.transferRxPrevious;