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:
parent
ac72795971
commit
2b33b79f86
20 changed files with 213 additions and 60 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue