1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-12-10 14:33:31 +01:00

rename some refs

This commit is contained in:
Kyle Spearrin 2018-01-23 23:05:23 -05:00
parent a816961dff
commit e06704431a
3 changed files with 6 additions and 6 deletions

View File

@ -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>

View File

@ -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();
} }
} }

View File

@ -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;