mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
instance props reference static
This commit is contained in:
@@ -11,16 +11,15 @@ export class ConstantsService {
|
|||||||
static readonly lockOptionKey: string = 'lockOption';
|
static readonly lockOptionKey: string = 'lockOption';
|
||||||
static readonly lastActiveKey: string = 'lastActive';
|
static readonly lastActiveKey: string = 'lastActive';
|
||||||
|
|
||||||
// TODO: remove these instance properties once all references are reading from the static properties
|
readonly environmentUrlsKey: string = ConstantsService.environmentUrlsKey;
|
||||||
readonly environmentUrlsKey: string = 'environmentUrls';
|
readonly disableGaKey: string = ConstantsService.disableGaKey;
|
||||||
readonly disableGaKey: string = 'disableGa';
|
readonly disableAddLoginNotificationKey: string = ConstantsService.disableAddLoginNotificationKey;
|
||||||
readonly disableAddLoginNotificationKey: string = 'disableAddLoginNotification';
|
readonly disableContextMenuItemKey: string = ConstantsService.disableContextMenuItemKey;
|
||||||
readonly disableContextMenuItemKey: string = 'disableContextMenuItem';
|
readonly disableFaviconKey: string = ConstantsService.disableFaviconKey;
|
||||||
readonly disableFaviconKey: string = 'disableFavicon';
|
readonly disableAutoTotpCopyKey: string = ConstantsService.disableAutoTotpCopyKey;
|
||||||
readonly disableAutoTotpCopyKey: string = 'disableAutoTotpCopy';
|
readonly enableAutoFillOnPageLoadKey: string = ConstantsService.enableAutoFillOnPageLoadKey;
|
||||||
readonly enableAutoFillOnPageLoadKey: string = 'enableAutoFillOnPageLoad';
|
readonly lockOptionKey: string = ConstantsService.lockOptionKey;
|
||||||
readonly lockOptionKey: string = 'lockOption';
|
readonly lastActiveKey: string = ConstantsService.lastActiveKey;
|
||||||
readonly lastActiveKey: string = 'lastActive';
|
|
||||||
|
|
||||||
// TODO: Convert these objects to enums
|
// TODO: Convert these objects to enums
|
||||||
readonly encType: any = {
|
readonly encType: any = {
|
||||||
|
|||||||
Reference in New Issue
Block a user