mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-30 12:54:31 +01:00
lint fixes
This commit is contained in:
parent
b16ae24d58
commit
f2923d9c81
@ -11,7 +11,7 @@ import { AuthService } from 'jslib/abstractions/auth.service';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-login',
|
selector: 'app-login',
|
||||||
template: template
|
template: template,
|
||||||
})
|
})
|
||||||
export class LoginComponent implements OnInit {
|
export class LoginComponent implements OnInit {
|
||||||
email: string = '';
|
email: string = '';
|
||||||
|
@ -6,7 +6,7 @@ import {
|
|||||||
} from '@angular/core';
|
} from '@angular/core';
|
||||||
|
|
||||||
@Directive({
|
@Directive({
|
||||||
selector: '[appFallbackSrc]'
|
selector: '[appFallbackSrc]',
|
||||||
})
|
})
|
||||||
export class FallbackSrcDirective {
|
export class FallbackSrcDirective {
|
||||||
@Input('appFallbackSrc') appFallbackSrc: string;
|
@Input('appFallbackSrc') appFallbackSrc: string;
|
||||||
|
@ -4,7 +4,7 @@ import {
|
|||||||
} from '@angular/core';
|
} from '@angular/core';
|
||||||
|
|
||||||
@Directive({
|
@Directive({
|
||||||
selector: '[appStopClick]'
|
selector: '[appStopClick]',
|
||||||
})
|
})
|
||||||
export class StopClickDirective {
|
export class StopClickDirective {
|
||||||
@HostListener('click', ['$event']) onClick($event: MouseEvent) {
|
@HostListener('click', ['$event']) onClick($event: MouseEvent) {
|
||||||
|
@ -4,7 +4,7 @@ import {
|
|||||||
} from '@angular/core';
|
} from '@angular/core';
|
||||||
|
|
||||||
@Directive({
|
@Directive({
|
||||||
selector: '[appStopProp]'
|
selector: '[appStopProp]',
|
||||||
})
|
})
|
||||||
export class StopPropDirective {
|
export class StopPropDirective {
|
||||||
@HostListener('click', ['$event']) onClick($event: MouseEvent) {
|
@HostListener('click', ['$event']) onClick($event: MouseEvent) {
|
||||||
|
@ -4,7 +4,6 @@ import {
|
|||||||
Component,
|
Component,
|
||||||
EventEmitter,
|
EventEmitter,
|
||||||
Input,
|
Input,
|
||||||
OnChanges,
|
|
||||||
Output,
|
Output,
|
||||||
} from '@angular/core';
|
} from '@angular/core';
|
||||||
|
|
||||||
@ -12,18 +11,10 @@ import {
|
|||||||
selector: 'app-vault-ciphers',
|
selector: 'app-vault-ciphers',
|
||||||
template: template,
|
template: template,
|
||||||
})
|
})
|
||||||
export class CiphersComponent implements OnChanges {
|
export class CiphersComponent {
|
||||||
@Input() ciphers: any[];
|
@Input() ciphers: any[];
|
||||||
@Output() onCipherClicked = new EventEmitter<any>();
|
@Output() onCipherClicked = new EventEmitter<any>();
|
||||||
|
|
||||||
constructor() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
ngOnChanges() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
cipherClicked(cipher: any) {
|
cipherClicked(cipher: any) {
|
||||||
this.onCipherClicked.emit(cipher);
|
this.onCipherClicked.emit(cipher);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user