mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
This reverts commit 5a1940f3f4.
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
import { DialogRef, DIALOG_DATA } from "@angular/cdk/dialog";
|
||||
import { Component, Inject, OnInit } from "@angular/core";
|
||||
|
||||
import { WebI18nKey } from "@bitwarden/web-vault/app/core/web-i18n.service.implementation";
|
||||
|
||||
export interface BulkStatusDetails {
|
||||
title: WebI18nKey;
|
||||
subTitle: WebI18nKey;
|
||||
columnTitle: WebI18nKey;
|
||||
message: WebI18nKey;
|
||||
title: string;
|
||||
subTitle: string;
|
||||
columnTitle: string;
|
||||
message: string;
|
||||
details: BulkOperationStatus[];
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ import { combineLatest, map, Observable } from "rxjs";
|
||||
|
||||
import { StateService } from "@bitwarden/common/abstractions/state.service";
|
||||
import { AccountProfile } from "@bitwarden/common/models/domain/account";
|
||||
import { WebI18nKey } from "@bitwarden/web-vault/app/core/web-i18n.service.implementation";
|
||||
|
||||
@Component({
|
||||
selector: "sm-header",
|
||||
@@ -14,7 +13,7 @@ export class HeaderComponent {
|
||||
@Input() title: string;
|
||||
@Input() searchTitle: string;
|
||||
|
||||
protected routeData$: Observable<{ title: WebI18nKey; searchTitle: WebI18nKey }>;
|
||||
protected routeData$: Observable<{ title: string; searchTitle: string }>;
|
||||
protected account$: Observable<AccountProfile>;
|
||||
|
||||
constructor(private route: ActivatedRoute, private stateService: StateService) {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { SelectionModel } from "@angular/cdk/collections";
|
||||
import { Component, EventEmitter, Input, Output } from "@angular/core";
|
||||
|
||||
import { WebI18nKey } from "@bitwarden/web-vault/app/core/web-i18n.service.implementation";
|
||||
|
||||
import { AccessTokenView } from "../models/view/access-token.view";
|
||||
|
||||
@Component({
|
||||
@@ -36,7 +34,7 @@ export class AccessListComponent {
|
||||
: this.selection.select(...this.tokens.map((s) => s.id));
|
||||
}
|
||||
|
||||
protected permission(token: AccessTokenView): WebI18nKey {
|
||||
protected permission(token: AccessTokenView) {
|
||||
return "canRead";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user