diff --git a/demo-shell/src/app/app.routes.ts b/demo-shell/src/app/app.routes.ts index 16e2693843..22d3ae1763 100644 --- a/demo-shell/src/app/app.routes.ts +++ b/demo-shell/src/app/app.routes.ts @@ -39,7 +39,6 @@ import { SocialComponent } from './components/social/social.component'; import { FilesComponent } from './components/files/files.component'; import { FormComponent } from './components/form/form.component'; -import { UploadButtonComponent } from '@alfresco/adf-content-services'; import { FileViewComponent } from './components/file-view/file-view.component'; import { CustomSourcesComponent } from './components/files/custom-sources.component'; import { FormListComponent } from './components/form/form-list.component'; @@ -80,13 +79,19 @@ export const appRoutes: Routes = [ }, { path: 'files', - redirectTo: 'files/-my-' + component: FilesComponent, + canActivate: [AuthGuardEcm] }, { path: 'files/:id', component: FilesComponent, canActivate: [AuthGuardEcm] }, + { + path: 'files/:id/display/:mode', + component: FilesComponent, + canActivate: [AuthGuardEcm] + }, { path: 'dl-custom-sources', component: CustomSourcesComponent, @@ -96,11 +101,6 @@ export const appRoutes: Routes = [ path: 'datatable', component: DataTableComponent }, - { - path: 'uploader', - component: UploadButtonComponent, - canActivate: [AuthGuardEcm] - }, { path: 'search', component: SearchResultComponent, diff --git a/demo-shell/src/app/components/app-layout/app-layout.component.scss b/demo-shell/src/app/components/app-layout/app-layout.component.scss index 54fb3211e2..451ee1d263 100644 --- a/demo-shell/src/app/components/app-layout/app-layout.component.scss +++ b/demo-shell/src/app/components/app-layout/app-layout.component.scss @@ -19,7 +19,7 @@ } .adf-app-layout-toolbar { - z-index: 200000; + z-index: 1001; position: relative; overflow: visible !important; } diff --git a/demo-shell/src/app/components/app-layout/app-layout.component.ts b/demo-shell/src/app/components/app-layout/app-layout.component.ts index 5acdea2a0c..c1cf9ade45 100644 --- a/demo-shell/src/app/components/app-layout/app-layout.component.ts +++ b/demo-shell/src/app/components/app-layout/app-layout.component.ts @@ -39,7 +39,6 @@ export class AppLayoutComponent { { href: '/form', icon: 'poll', title: 'APP_LAYOUT.FORM' }, { href: '/form-list', icon: 'library_books', title: 'APP_LAYOUT.FORM_LIST' }, { href: '/form-loading', icon: 'cached', title: 'APP_LAYOUT.FORM_LOADING' }, - { href: '/uploader', icon: 'file_upload', title: 'APP_LAYOUT.UPLOADER' }, { href: '/webscript', icon: 'extension', title: 'APP_LAYOUT.WEBSCRIPT' }, { href: '/tag', icon: 'local_offer', title: 'APP_LAYOUT.TAG' }, { href: '/social', icon: 'thumb_up', title: 'APP_LAYOUT.SOCIAL' }, diff --git a/demo-shell/src/app/components/files/files.component.html b/demo-shell/src/app/components/files/files.component.html index 2de698f8f4..a98e66a05e 100644 --- a/demo-shell/src/app/components/files/files.component.html +++ b/demo-shell/src/app/components/files/files.component.html @@ -252,7 +252,7 @@ this.pagination.totalItems) { + this.pagination.hasMoreItems = false; + } + if (this.target) { this.target.pagination.value.merge = this.pagination.merge; this.target.pagination.value.skipCount = this.pagination.skipCount;