mirror of
https://github.com/bitwarden/browser
synced 2026-02-26 01:23:24 +00:00
revert generate -> generator rename
This commit is contained in:
@@ -233,7 +233,7 @@ export class CredentialGeneratorComponent implements OnInit, OnChanges, OnDestro
|
||||
|
||||
// wire up the generator
|
||||
this.generatorService
|
||||
.generator$({
|
||||
.generate$({
|
||||
on$: this.generate$.pipe(
|
||||
tap((g) => this.log.debug(g, "generate request issued by component")),
|
||||
),
|
||||
|
||||
@@ -182,7 +182,7 @@ export class PasswordGeneratorComponent implements OnInit, OnChanges, OnDestroy
|
||||
|
||||
// wire up the generator
|
||||
this.generatorService
|
||||
.generator$({ on$: this.generate$, account$: this.account$ })
|
||||
.generate$({ on$: this.generate$, account$: this.account$ })
|
||||
.pipe(
|
||||
catchError((error: unknown, generator) => {
|
||||
if (typeof error === "string") {
|
||||
|
||||
@@ -207,7 +207,7 @@ export class UsernameGeneratorComponent implements OnInit, OnChanges, OnDestroy
|
||||
|
||||
// wire up the generator
|
||||
this.generatorService
|
||||
.generator$({
|
||||
.generate$({
|
||||
on$: this.generate$,
|
||||
account$: this.account$,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user