rename some refs
This commit is contained in:
parent
a816961dff
commit
e06704431a
|
@ -1,5 +1,5 @@
|
||||||
<div id="vault">
|
<div id="vault">
|
||||||
<app-vault-groupings id="categories"></app-vault-groupings>
|
<app-vault-groupings id="groupings"></app-vault-groupings>
|
||||||
<app-vault-ciphers id="items" [ciphers]="vaultCiphers"></app-vault-ciphers>
|
<app-vault-ciphers id="items" [ciphers]="ciphers"></app-vault-ciphers>
|
||||||
<app-vault-view id="details" [cipherId]="null"></app-vault-view>
|
<app-vault-view id="details" [cipherId]="null"></app-vault-view>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -12,13 +12,13 @@ import { CipherService } from 'jslib/abstractions/cipher.service';
|
||||||
template: template,
|
template: template,
|
||||||
})
|
})
|
||||||
export class VaultComponent implements OnInit {
|
export class VaultComponent implements OnInit {
|
||||||
vaultCiphers: any[];
|
ciphers: any[];
|
||||||
|
|
||||||
constructor(private cipherService: CipherService) {
|
constructor(private cipherService: CipherService) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
this.vaultCiphers = await this.cipherService.getAllDecrypted();
|
this.ciphers = await this.cipherService.getAllDecrypted();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,7 @@ a {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
#categories {
|
#groupings {
|
||||||
background-color: $background-color-alt;
|
background-color: $background-color-alt;
|
||||||
width: 15%;
|
width: 15%;
|
||||||
min-width: 175px;
|
min-width: 175px;
|
||||||
|
@ -142,7 +142,7 @@ a {
|
||||||
min-width: 400px;
|
min-width: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#categories, #items, #details {
|
#groupings, #items, #details {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue