mirror of
https://github.com/bitwarden/desktop.git
synced 2024-12-28 17:18:24 +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({
|
||||
selector: 'app-login',
|
||||
template: template
|
||||
template: template,
|
||||
})
|
||||
export class LoginComponent implements OnInit {
|
||||
email: string = '';
|
||||
|
@ -6,7 +6,7 @@ import {
|
||||
} from '@angular/core';
|
||||
|
||||
@Directive({
|
||||
selector: '[appFallbackSrc]'
|
||||
selector: '[appFallbackSrc]',
|
||||
})
|
||||
export class FallbackSrcDirective {
|
||||
@Input('appFallbackSrc') appFallbackSrc: string;
|
||||
|
@ -4,7 +4,7 @@ import {
|
||||
} from '@angular/core';
|
||||
|
||||
@Directive({
|
||||
selector: '[appStopClick]'
|
||||
selector: '[appStopClick]',
|
||||
})
|
||||
export class StopClickDirective {
|
||||
@HostListener('click', ['$event']) onClick($event: MouseEvent) {
|
||||
|
@ -4,7 +4,7 @@ import {
|
||||
} from '@angular/core';
|
||||
|
||||
@Directive({
|
||||
selector: '[appStopProp]'
|
||||
selector: '[appStopProp]',
|
||||
})
|
||||
export class StopPropDirective {
|
||||
@HostListener('click', ['$event']) onClick($event: MouseEvent) {
|
||||
|
@ -4,7 +4,6 @@ import {
|
||||
Component,
|
||||
EventEmitter,
|
||||
Input,
|
||||
OnChanges,
|
||||
Output,
|
||||
} from '@angular/core';
|
||||
|
||||
@ -12,18 +11,10 @@ import {
|
||||
selector: 'app-vault-ciphers',
|
||||
template: template,
|
||||
})
|
||||
export class CiphersComponent implements OnChanges {
|
||||
export class CiphersComponent {
|
||||
@Input() ciphers: any[];
|
||||
@Output() onCipherClicked = new EventEmitter<any>();
|
||||
|
||||
constructor() {
|
||||
|
||||
}
|
||||
|
||||
ngOnChanges() {
|
||||
|
||||
}
|
||||
|
||||
cipherClicked(cipher: any) {
|
||||
this.onCipherClicked.emit(cipher);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user