1
0
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:
Patrik J. Braun 2021-03-14 17:00:43 +01:00
parent 007962cc8d
commit 1de6114c5b
6 changed files with 2 additions and 8 deletions

View File

@ -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",

View File

@ -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);
}
}

View File

@ -44,7 +44,6 @@ export class GalleryNavigatorComponent implements OnChanges {
}
ngOnChanges() {
console.log(this.searchResult);
this.getPath();
this.DefaultSorting = this.galleryService.getDefaultSorting(this.directory);
}

View File

@ -59,7 +59,6 @@ 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) {
console.error(e);
}

View File

@ -89,7 +89,6 @@ export class GallerySearchQueryEntryComponent implements ControlValueAccessor, V
}
addQuery(): void {
console.log('clicked', this.IsListQuery);
if (!this.IsListQuery) {
return;
}

View File

@ -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);
}