Skip to content

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

[#49622] removed commented code fragment

Eric Schubert59c7ae3788ca
diff --git a/frontend/src/app/shared/components/storages/storage/storage.component.ts b/frontend/src/app/shared/components/storages/storage/storage.component.ts
index 989b966d3dd..36efddd4412 100644
--- a/frontend/src/app/shared/components/storages/storage/storage.component.ts
+++ b/frontend/src/app/shared/components/storages/storage/storage.component.ts
@@ -178,18 +178,6 @@ export class StorageComponent extends UntilDestroyedMixin implements OnInit, OnD
return (this.resource.$links as unknown&{ addFileLink:IHalResourceLink }).addFileLink.href;
}
- // private get projectFolderHref():string|null {
- // if (this.projectStorage.projectFolderMode === 'inactive') {
- // return null;
- // }
- //
- // if (!this.projectStorage._links.projectFolder) {
- // throw new Error(`Project folder id 'null' not allowed for project folder mode '${this.projectStorage.projectFolderMode}'.`);
- // }
- //
- // return this.projectStorage._links.projectFolder.href;
- // }
-
private onGlobalDragLeave:(_event:DragEvent) => void = (_event) => {
this.dragging = Math.max(this.dragging - 1, 0);
this.cdRef.detectChanges();