mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Always be able to set email as verified
Useful for instance that do not require email verification but still want to enable the "email in podcast feed" feature
This commit is contained in:
parent
3a53d44246
commit
b080ccc3ee
2 changed files with 20 additions and 27 deletions
|
@ -366,7 +366,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
|
|||
{
|
||||
label: $localize`Set Email as Verified`,
|
||||
handler: ({ user }) => this.setEmailAsVerified(user),
|
||||
isDisplayed: ({ user }) => this.requiresEmailVerification && !user.blocked && user.emailVerified === false
|
||||
isDisplayed: ({ user }) => !user.blocked && user.emailVerified !== true
|
||||
}
|
||||
])
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue