mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
private mode component
This commit is contained in:
24
src/popup/private-mode.component.ts
Normal file
24
src/popup/private-mode.component.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { BrowserApi } from '../browser/browserApi';
|
||||
|
||||
import {
|
||||
Component,
|
||||
OnInit,
|
||||
} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-private-mode',
|
||||
templateUrl: 'private-mode.component.html',
|
||||
})
|
||||
export class PrivateModeComponent implements OnInit {
|
||||
privateModeMessage: string;
|
||||
learnMoreMessage: string;
|
||||
|
||||
ngOnInit() {
|
||||
this.privateModeMessage = chrome.i18n.getMessage('privateModeMessage');
|
||||
this.learnMoreMessage = chrome.i18n.getMessage('learnMore');
|
||||
}
|
||||
|
||||
learnMore() {
|
||||
BrowserApi.createNewTab('https://help.bitwarden.com/article/extension-wont-load-in-private-mode/');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user