mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
Forbid promise misuse (#6360)
This commit is contained in:
@@ -47,6 +47,7 @@ export class AddOrganizationComponent implements OnInit {
|
||||
}
|
||||
|
||||
async add(organization: Organization) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
||||
if (this.formPromise) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user