mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-27 06:33:18 +00:00
✨ Update profile view: add no_email property handling for better email visibility management.
This commit is contained in:
@@ -60,6 +60,7 @@ new class extends Component
|
|||||||
->where('pubkey', $this->currentPubkey)->first();
|
->where('pubkey', $this->currentPubkey)->first();
|
||||||
if ($this->currentPleb) {
|
if ($this->currentPleb) {
|
||||||
$this->email = $this->currentPleb->email;
|
$this->email = $this->currentPleb->email;
|
||||||
|
$this->no = $this->currentPleb->no_email;
|
||||||
$this->showEmail = ! $this->no;
|
$this->showEmail = ! $this->no;
|
||||||
if ($this->currentPleb->association_status === AssociationStatus::ACTIVE) {
|
if ($this->currentPleb->association_status === AssociationStatus::ACTIVE) {
|
||||||
$this->amountToPay = config('app.env') === 'production' ? 21000 : 1;
|
$this->amountToPay = config('app.env') === 'production' ? 21000 : 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user