Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler committed Feb 14, 2025
1 parent 64844b0 commit c633799
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions webui/src/components/WifiCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ const changeHidePasswords = () => {
@click="changeHidePasswords"
v-if="props.psk !== null"
class="wifi-psk"
:style="{
WebkitTextSecurity:
props.psk !== null && hidePasswords.value ? 'disc' : 'none',
} as any"
>
{{ hidePasswords ? props.psk.slice(1, 9) : props.psk }}
{{
hidePasswords ? props.psk.slice(1, 9).replace(/./gm, "•") : props.psk
}}
</span>
<span
@click="changeHidePasswords"
Expand Down

0 comments on commit c633799

Please sign in to comment.