Collection Redesign (#500)

* Setup UI for the collection redesign.

* Implemented collection details page
This commit is contained in:
Joseph Milazzo 2021-08-16 16:08:56 -07:00 committed by GitHub
parent 226d7408bf
commit 51ea41fc35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 289 additions and 42 deletions

View file

@ -105,7 +105,7 @@ export class EditCollectionTagsComponent implements OnInit {
}
close() {
this.modal.close(false);
this.modal.dismiss();
}
async save() {
@ -135,7 +135,7 @@ export class EditCollectionTagsComponent implements OnInit {
get someSelected() {
const selected = this.selections.selected();
return (selected.length != this.series.length && selected.length != 0);
return (selected.length !== this.series.length && selected.length !== 0);
}
updateSelectedIndex(index: number) {

View file

@ -38,7 +38,7 @@ import { CardDetailsModalComponent } from './_modals/card-details-modal/card-det
],
imports: [
CommonModule,
BrowserModule,
//BrowserModule,
RouterModule,
ReactiveFormsModule,
FormsModule, // EditCollectionsModal
@ -48,7 +48,6 @@ import { CardDetailsModalComponent } from './_modals/card-details-modal/card-det
NgbNavModule,
NgbTooltipModule, // Card item
//NgbAccordionModule,
NgbCollapseModule,
NgbNavModule, //Series Detail