mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-02-03 13:22:05 +02:00
cleanup
This commit is contained in:
parent
53c8de3695
commit
168df15e53
@ -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()]);
|
||||
|
@ -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> => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user