Directory Picker Rework (#1325)
* Started on the directory picker refactor. * Coded some basic working version. Needs styling and variable cleanup * code cleanup * Implemented the ability to expose swagger on non-development servers. * Implemented the ability to expose swagger on non-development servers.
This commit is contained in:
parent
0f5a7ee6fa
commit
9c851b0f0e
18 changed files with 189 additions and 85 deletions
|
|
@ -6,6 +6,7 @@ import { environment } from 'src/environments/environment';
|
|||
import { JumpKey } from '../_models/jumpbar/jump-key';
|
||||
import { Library, LibraryType } from '../_models/library';
|
||||
import { SearchResultGroup } from '../_models/search/search-result-group';
|
||||
import { DirectoryDto } from '../_models/system/directory-dto';
|
||||
|
||||
|
||||
@Injectable({
|
||||
|
|
@ -56,7 +57,7 @@ export class LibraryService {
|
|||
query = '?path=' + encodeURIComponent(rootPath);
|
||||
}
|
||||
|
||||
return this.httpClient.get<string[]>(this.baseUrl + 'library/list' + query);
|
||||
return this.httpClient.get<DirectoryDto[]>(this.baseUrl + 'library/list' + query);
|
||||
}
|
||||
|
||||
getJumpBar(libraryId: number) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue