|
|
|
|
@ -2,10 +2,13 @@ import { Component, OnInit } from "@angular/core";
@@ -2,10 +2,13 @@ import { Component, OnInit } from "@angular/core";
|
|
|
|
|
import { ActivatedRoute } from "@angular/router"; |
|
|
|
|
import { combineLatestWith, Observable, startWith, switchMap } from "rxjs"; |
|
|
|
|
|
|
|
|
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service"; |
|
|
|
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service"; |
|
|
|
|
import { DialogService } from "@bitwarden/components"; |
|
|
|
|
|
|
|
|
|
import { SecretListView } from "../models/view/secret-list.view"; |
|
|
|
|
import { SecretService } from "../secrets/secret.service"; |
|
|
|
|
import { SecretsListComponent } from "../shared/secrets-list.component"; |
|
|
|
|
|
|
|
|
|
import { |
|
|
|
|
SecretHardDeleteDialogComponent, |
|
|
|
|
@ -28,6 +31,8 @@ export class TrashComponent implements OnInit {
@@ -28,6 +31,8 @@ export class TrashComponent implements OnInit {
|
|
|
|
|
constructor( |
|
|
|
|
private route: ActivatedRoute, |
|
|
|
|
private secretService: SecretService, |
|
|
|
|
private platformUtilsService: PlatformUtilsService, |
|
|
|
|
private i18nService: I18nService, |
|
|
|
|
private dialogService: DialogService |
|
|
|
|
) {} |
|
|
|
|
|
|
|
|
|
@ -65,4 +70,8 @@ export class TrashComponent implements OnInit {
@@ -65,4 +70,8 @@ export class TrashComponent implements OnInit {
|
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
copySecretUuid(id: string) { |
|
|
|
|
SecretsListComponent.copySecretUuid(id, this.platformUtilsService, this.i18nService); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|