You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-07-17 01:32:29 +02:00
cleanup
This commit is contained in:
@ -51,7 +51,6 @@ export class NavigationService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async toGallery(): Promise<boolean> {
|
public async toGallery(): Promise<boolean> {
|
||||||
console.log('toGallery');
|
|
||||||
await this.shareService.wait();
|
await this.shareService.wait();
|
||||||
if (this.shareService.isSharing()) {
|
if (this.shareService.isSharing()) {
|
||||||
return this.router.navigate(['share', this.shareService.getSharingKey()]);
|
return this.router.navigate(['share', this.shareService.getSharingKey()]);
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
import {Component, OnDestroy, OnInit, ViewChild} from '@angular/core';
|
import {Component, OnDestroy, OnInit, ViewChild} from '@angular/core';
|
||||||
import {AuthenticationService} from '../../model/network/authentication.service';
|
import {AuthenticationService} from '../../model/network/authentication.service';
|
||||||
import {ActivatedRoute, Params, Router} from '@angular/router';
|
import {ActivatedRoute, Params, Router} from '@angular/router';
|
||||||
import {
|
import {ContentService, ContentWrapperWithError, DirectoryContent,} from './content.service';
|
||||||
ContentService,
|
|
||||||
ContentWrapperWithError,
|
|
||||||
DirectoryContent,
|
|
||||||
} from './content.service';
|
|
||||||
import {GalleryGridComponent} from './grid/grid.gallery.component';
|
import {GalleryGridComponent} from './grid/grid.gallery.component';
|
||||||
import {Config} from '../../../../common/config/public/Config';
|
import {Config} from '../../../../common/config/public/Config';
|
||||||
import {ShareService} from './share.service';
|
import {ShareService} from './share.service';
|
||||||
@ -147,11 +143,6 @@ export class GalleryComponent implements OnInit, OnDestroy {
|
|||||||
this.updateTimer(x)
|
this.updateTimer(x)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
this.subscription.sorting = this.galleryService.sorting.subscribe((): void => {
|
|
||||||
this.sortDirectories();
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private onRoute = async (params: Params): Promise<void> => {
|
private onRoute = async (params: Params): Promise<void> => {
|
||||||
|
Reference in New Issue
Block a user