1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-02-03 13:22:05 +02:00
This commit is contained in:
Patrik J. Braun 2023-01-11 20:35:25 +01:00
parent 53c8de3695
commit 168df15e53
2 changed files with 22 additions and 32 deletions

View File

@ -51,7 +51,6 @@ export class NavigationService {
}
public async toGallery(): Promise<boolean> {
console.log('toGallery');
await this.shareService.wait();
if (this.shareService.isSharing()) {
return this.router.navigate(['share', this.shareService.getSharingKey()]);

View File

@ -1,11 +1,7 @@
import {Component, OnDestroy, OnInit, ViewChild} from '@angular/core';
import {AuthenticationService} from '../../model/network/authentication.service';
import {ActivatedRoute, Params, Router} from '@angular/router';
import {
ContentService,
ContentWrapperWithError,
DirectoryContent,
} from './content.service';
import {ContentService, ContentWrapperWithError, DirectoryContent,} from './content.service';
import {GalleryGridComponent} from './grid/grid.gallery.component';
import {Config} from '../../../../common/config/public/Config';
import {ShareService} from './share.service';
@ -147,11 +143,6 @@ export class GalleryComponent implements OnInit, OnDestroy {
this.updateTimer(x)
);
}
/*
this.subscription.sorting = this.galleryService.sorting.subscribe((): void => {
this.sortDirectories();
});
*/
}
private onRoute = async (params: Params): Promise<void> => {