mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
Upgrade to ADF 2.0.0-beta2 (#65)
* upgrade to 2.0.0-beta2 * search fixes * test fixes * test fixes * cleanup CLI config * remove unused property
This commit is contained in:
committed by
Cilibiu Bogdan
parent
54b4a8193b
commit
89fb92d1d9
@@ -19,10 +19,10 @@ import { MinimalNodeEntity, MinimalNodeEntryEntity, NodePaging, Pagination } fro
|
||||
|
||||
export abstract class PageComponent {
|
||||
|
||||
title: string = 'Page';
|
||||
title = 'Page';
|
||||
|
||||
isLoading: boolean = false;
|
||||
isEmpty: boolean = true;
|
||||
isLoading = false;
|
||||
isEmpty = true;
|
||||
|
||||
paging: NodePaging;
|
||||
pagination: Pagination;
|
||||
@@ -70,7 +70,7 @@ export abstract class PageComponent {
|
||||
|
||||
isFileSelected(selection: Array<MinimalNodeEntity>): boolean {
|
||||
if (selection && selection.length === 1) {
|
||||
let entry = selection[0].entry;
|
||||
const entry = selection[0].entry;
|
||||
|
||||
if (entry && entry.isFile) {
|
||||
return true;
|
||||
@@ -81,7 +81,7 @@ export abstract class PageComponent {
|
||||
|
||||
canEditFolder(selection: Array<MinimalNodeEntity>): boolean {
|
||||
if (selection && selection.length === 1) {
|
||||
let entry = selection[0].entry;
|
||||
const entry = selection[0].entry;
|
||||
|
||||
if (entry && entry.isFolder) {
|
||||
return this.nodeHasPermission(entry, 'update');
|
||||
|
Reference in New Issue
Block a user