mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Cleaning up project
This commit is contained in:
parent
007962cc8d
commit
1de6114c5b
@ -43,7 +43,6 @@
|
||||
"image-size": "0.9.3",
|
||||
"jimp": "0.16.1",
|
||||
"locale": "0.1.0",
|
||||
"natural-orderby": "^2.0.3",
|
||||
"reflect-metadata": "0.1.13",
|
||||
"sharp": "0.23.4",
|
||||
"sqlite3": "5.0.0",
|
||||
@ -115,6 +114,7 @@
|
||||
"karma-remap-istanbul": "0.6.0",
|
||||
"karma-systemjs": "0.16.0",
|
||||
"mocha": "8.2.1",
|
||||
"natural-orderby": "2.0.3",
|
||||
"ng2-cookies": "1.0.12",
|
||||
"ng2-slim-loading-bar": "4.0.0",
|
||||
"ngx-bootstrap": "5.2.0",
|
||||
|
@ -5,8 +5,6 @@ import {SearchQueryDTO} from '../../../common/entities/SearchQueryDTO';
|
||||
@Pipe({name: 'searchQuery'})
|
||||
export class StringifySearchQuery implements PipeTransform {
|
||||
transform(query: SearchQueryDTO): string {
|
||||
console.log(query);
|
||||
console.log(SearchQueryDTO.stringify(query));
|
||||
return SearchQueryDTO.stringify(query);
|
||||
}
|
||||
}
|
||||
|
@ -44,7 +44,6 @@ export class GalleryNavigatorComponent implements OnChanges {
|
||||
}
|
||||
|
||||
ngOnChanges() {
|
||||
console.log(this.searchResult);
|
||||
this.getPath();
|
||||
this.DefaultSorting = this.galleryService.getDefaultSorting(this.directory);
|
||||
}
|
||||
|
@ -59,8 +59,7 @@ export class RandomQueryBuilderGalleryComponent implements OnInit, OnDestroy {
|
||||
try {
|
||||
this.searchQueryDTO = SearchQueryDTO.parse(this.rawSearchText);
|
||||
this.url = NetworkService.buildUrl(Config.Client.publicUrl + '/api/gallery/random/' + this.HTMLSearchQuery);
|
||||
console.log(this.searchQueryDTO);
|
||||
} catch (e) {
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
|
@ -89,7 +89,6 @@ export class GallerySearchQueryEntryComponent implements ControlValueAccessor, V
|
||||
}
|
||||
|
||||
addQuery(): void {
|
||||
console.log('clicked', this.IsListQuery);
|
||||
if (!this.IsListQuery) {
|
||||
return;
|
||||
}
|
||||
|
@ -115,7 +115,6 @@ export class GallerySearchComponent implements OnDestroy {
|
||||
validateRawSearchText() {
|
||||
try {
|
||||
this.searchQueryDTO = SearchQueryDTO.parse(this.rawSearchText);
|
||||
console.log(this.searchQueryDTO);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user