mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
@@ -70,10 +70,10 @@ export class FilesComponent {
|
||||
}
|
||||
|
||||
getRelativeDirectory(currentFolderPath: string): string {
|
||||
if (currentFolderPath.indexOf('/Sites/swsdp/documentLibrary/') != -1) {
|
||||
return currentFolderPath.replace('/Sites/swsdp/documentLibrary/', '')
|
||||
if (currentFolderPath.indexOf('/Sites/swsdp/documentLibrary/') !== -1) {
|
||||
return currentFolderPath.replace('/Sites/swsdp/documentLibrary/', '');
|
||||
} else {
|
||||
return currentFolderPath.replace('/Sites/swsdp/documentLibrary', '')
|
||||
return currentFolderPath.replace('/Sites/swsdp/documentLibrary', '');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user