fix ciphers routing
This commit is contained in:
parent
3a9a7d3e64
commit
c35d60025c
|
@ -63,7 +63,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content">
|
<div class="box-content">
|
||||||
<a *ngFor="let c of collections" href="#" class="box-content-row" appStopClick appBlurClick
|
<a *ngFor="let c of collections" href="#" class="box-content-row" appStopClick appBlurClick
|
||||||
(click)="selectCollection(f)">
|
(click)="selectCollection(c)">
|
||||||
{{c.name}}
|
{{c.name}}
|
||||||
<span>{{collectionCounts.get(c.id) || 0}}</span>
|
<span>{{collectionCounts.get(c.id) || 0}}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -77,16 +77,16 @@ export class GroupingsComponent extends BaseGroupingsComponent implements OnInit
|
||||||
|
|
||||||
selectType(type: CipherType) {
|
selectType(type: CipherType) {
|
||||||
super.selectType(type);
|
super.selectType(type);
|
||||||
this.router.navigate(['/ciphers', { queryParams: { type: type } }]);
|
this.router.navigate(['/ciphers'], { queryParams: { type: type } });
|
||||||
}
|
}
|
||||||
|
|
||||||
selectFolder(folder: FolderView) {
|
selectFolder(folder: FolderView) {
|
||||||
super.selectFolder(folder);
|
super.selectFolder(folder);
|
||||||
this.router.navigate(['/ciphers', { queryParams: { folderId: folder.id } }]);
|
this.router.navigate(['/ciphers'], { queryParams: { folderId: folder.id } });
|
||||||
}
|
}
|
||||||
|
|
||||||
selectCollection(collection: CollectionView) {
|
selectCollection(collection: CollectionView) {
|
||||||
super.selectCollection(collection);
|
super.selectCollection(collection);
|
||||||
this.router.navigate(['/ciphers', { queryParams: { collectionId: collection.id } }]);
|
this.router.navigate(['/ciphers'], { queryParams: { collectionId: collection.id } });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ $brand-info: #555555;
|
||||||
$brand-warning: #bf7e16;
|
$brand-warning: #bf7e16;
|
||||||
$brand-primary-accent: #286090;
|
$brand-primary-accent: #286090;
|
||||||
|
|
||||||
$background-color: #f9fafc;
|
$background-color: #efeff4;
|
||||||
$background-color-alt: #ecf0f5;
|
$background-color-alt: #ecf0f5;
|
||||||
|
|
||||||
$box-background-color: white;
|
$box-background-color: white;
|
||||||
|
|
Loading…
Reference in New Issue