[ADF-2682] Fix pagination, bradcrumb, general reload scenarios (#3184)

* skipcount page reset in new folder

* fix files component reload multiple times

* fix folderNode scenario
This commit is contained in:
Eugenio Romano
2018-04-13 10:08:02 +01:00
committed by Denys Vuika
parent 007cc1d1fc
commit f8d1480f29
8 changed files with 70 additions and 85 deletions

View File

@@ -144,7 +144,7 @@ export class BreadcrumbComponent implements OnInit, OnChanges {
this.navigate.emit(route);
if (this.target) {
this.target.loadFolderByNodeId(route.id);
this.target.navigateTo(route.id);
}
}
}

View File

@@ -0,0 +1,20 @@
/*!
* @license
* Copyright 2016 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface NavigableComponentInterface {
navigateTo(nodeId: string);
}

View File

@@ -17,5 +17,6 @@
export * from './breadcrumb.component';
export * from './dropdown-breadcrumb.component';
export * from './navigable-component.interface';
export * from './breadcrumb.module';