From d8a542d1ccab42519f3b03c1ac513d816aef49b2 Mon Sep 17 00:00:00 2001 From: knhash Date: Tue, 15 Jun 2021 12:30:31 +0530 Subject: [PATCH] fix: radio instead of dropdown --- .../vault/password-generator.component.html | 18 +++++++++++------- src/app/vault/password-generator.component.ts | 5 +++++ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/app/vault/password-generator.component.html b/src/app/vault/password-generator.component.html index a8a0fd80..a6999505 100644 --- a/src/app/vault/password-generator.component.html +++ b/src/app/vault/password-generator.component.html @@ -27,13 +27,17 @@
-
- - -
+
+
+ + + +
diff --git a/src/app/vault/password-generator.component.ts b/src/app/vault/password-generator.component.ts index 5e76f528..008eeba0 100644 --- a/src/app/vault/password-generator.component.ts +++ b/src/app/vault/password-generator.component.ts @@ -13,8 +13,13 @@ import { templateUrl: 'password-generator.component.html', }) export class PasswordGeneratorComponent extends BasePasswordGeneratorComponent { + passTypeOptions: any[]; constructor(passwordGenerationService: PasswordGenerationService, platformUtilsService: PlatformUtilsService, i18nService: I18nService) { super(passwordGenerationService, platformUtilsService, i18nService, window); + this.passTypeOptions = [ + { name: 'password', value: 'password' }, + { name: 'passphrase', value: 'passphrase' } + ] } }