OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[45520] Fixed spec
Andreas Pfohl85dc0e8f1c1a
diff --git a/frontend/src/app/shared/components/storages/file-picker-base-modal.component.ts/file-picker-base-modal.component.ts b/frontend/src/app/shared/components/storages/file-picker-base-modal.component.ts/file-picker-base-modal.component.tsindex ea0efff6576..b3b2bc2457b 100644--- a/frontend/src/app/shared/components/storages/file-picker-base-modal.component.ts/file-picker-base-modal.component.ts+++ b/frontend/src/app/shared/components/storages/file-picker-base-modal.component.ts/file-picker-base-modal.component.ts@@ -95,7 +95,7 @@ export abstract class FilePickerBaseModalComponent extends OpModalComponent implsuper.ngOnInit();this.storageFilesResourceService- .files(makeFilesCollectionLink(this.storageLink, undefined))+ .files(makeFilesCollectionLink(this.storageLink, '/')).subscribe((files) => {const root = files.find((file) => file.name === '/');if (root === undefined) {diff --git a/frontend/src/app/shared/components/storages/functions/storages.functions.ts b/frontend/src/app/shared/components/storages/functions/storages.functions.tsindex dd1c51d734f..a173f9e393f 100644--- a/frontend/src/app/shared/components/storages/functions/storages.functions.ts+++ b/frontend/src/app/shared/components/storages/functions/storages.functions.ts@@ -54,8 +54,8 @@ export function getIconForStorageType(storageType?:string):string {return storageIconMappings.default;}-export function makeFilesCollectionLink(storageLink:IHalResourceLink, location:string|undefined):IHalResourceLink {- const query = location !== undefined ? `?parent=${location}` : '';+export function makeFilesCollectionLink(storageLink:IHalResourceLink, location:string):IHalResourceLink {+ const query = location !== '/' ? `?parent=${location}` : '';return {href: `${storageLink.href}/files${query}`,