Lots of changes and reorganization around user management. Fixed a bug where after registering a person, they would be logged in automatically.

This commit is contained in:
Joseph Milazzo 2020-12-16 16:24:04 -06:00
parent ac72795971
commit 2b33b79f86
20 changed files with 213 additions and 60 deletions

View file

@ -3,6 +3,7 @@ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { DirectoryPickerComponent, DirectoryPickerResult } from 'src/app/directory-picker/directory-picker.component';
import { Library } from 'src/app/_models/library';
import { LibraryService } from 'src/app/_services/library.service';
import { LibraryEditorModalComponent } from '../_modals/library-editor-modal/library-editor-modal.component';
@Component({
selector: 'app-manage-library',
@ -23,6 +24,10 @@ export class ManageLibraryComponent implements OnInit {
}
addLibrary() {
const modalRef = this.modalService.open(LibraryEditorModalComponent);
}
addFolder(library: string) {
const modalRef = this.modalService.open(DirectoryPickerComponent);