diff --git a/jslib b/jslib index e0da3116f1..4d58200ee9 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit e0da3116f1529bf1ddfa6bdf0bf57ee89bdeeb6b +Subproject commit 4d58200ee90fb4fafa5d4f9f4c957654d4da306d diff --git a/src/popup/app-routing.module.ts b/src/popup/app-routing.module.ts index 3fb7fc2c97..bbf37da29b 100644 --- a/src/popup/app-routing.module.ts +++ b/src/popup/app-routing.module.ts @@ -17,8 +17,8 @@ import { SsoComponent } from "./accounts/sso.component"; import { TwoFactorOptionsComponent } from "./accounts/two-factor-options.component"; import { TwoFactorComponent } from "./accounts/two-factor.component"; import { UpdateTempPasswordComponent } from "./accounts/update-temp-password.component"; +import { GeneratorComponent } from "./generator/generator.component"; import { PasswordGeneratorHistoryComponent } from "./generator/password-generator-history.component"; -import { PasswordGeneratorComponent } from "./generator/password-generator.component"; import { SendAddEditComponent } from "./send/send-add-edit.component"; import { SendGroupingsComponent } from "./send/send-groupings.component"; import { SendTypeComponent } from "./send/send-type.component"; @@ -170,7 +170,7 @@ const routes: Routes = [ }, { path: "generator", - component: PasswordGeneratorComponent, + component: GeneratorComponent, canActivate: [AuthGuardService], data: { state: "generator" }, }, @@ -283,7 +283,7 @@ const routes: Routes = [ }, { path: "generator", - component: PasswordGeneratorComponent, + component: GeneratorComponent, canActivate: [AuthGuardService], data: { state: "tabs_generator" }, }, diff --git a/src/popup/app.module.ts b/src/popup/app.module.ts index d2e99d329b..5d79eed49e 100644 --- a/src/popup/app.module.ts +++ b/src/popup/app.module.ts @@ -83,8 +83,8 @@ import { PrivateModeWarningComponent } from "./components/private-mode-warning.c import { SendListComponent } from "./components/send-list.component"; import { SetPinComponent } from "./components/set-pin.component"; import { VerifyMasterPasswordComponent } from "./components/verify-master-password.component"; +import { GeneratorComponent } from "./generator/generator.component"; import { PasswordGeneratorHistoryComponent } from "./generator/password-generator-history.component"; -import { PasswordGeneratorComponent } from "./generator/password-generator.component"; import { EffluxDatesComponent as SendEffluxDatesComponent } from "./send/efflux-dates.component"; import { SendAddEditComponent } from "./send/send-add-edit.component"; import { SendGroupingsComponent } from "./send/send-groupings.component"; @@ -204,7 +204,7 @@ registerLocaleData(localeZhTw, "zh-TW"); LockComponent, LoginComponent, OptionsComponent, - PasswordGeneratorComponent, + GeneratorComponent, PasswordGeneratorHistoryComponent, PasswordHistoryComponent, PasswordRepromptComponent, diff --git a/src/popup/generator/password-generator.component.html b/src/popup/generator/generator.component.html similarity index 95% rename from src/popup/generator/password-generator.component.html rename to src/popup/generator/generator.component.html index 16b4b390ae..7a012508f1 100644 --- a/src/popup/generator/password-generator.component.html +++ b/src/popup/generator/generator.component.html @@ -1,7 +1,7 @@
- -
@@ -9,7 +9,7 @@ {{ "generator" | i18n }}
-
@@ -77,7 +77,7 @@ [value]="o.value" (change)="typeChanged()" [checked]="type === o.value" - [disabled]="showSelect" + [disabled]="comingFromAddEdit" />