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
Fix path after merge from release/12.0
Oliver Güntherc2da2d7ca14d
diff --git a/frontend/src/app/core/apiv3/api-v3.service.ts b/frontend/src/app/core/apiv3/api-v3.service.tsindex 97f5ffd06e0..bb5099e0859 100644--- a/frontend/src/app/core/apiv3/api-v3.service.ts+++ b/frontend/src/app/core/apiv3/api-v3.service.ts@@ -60,6 +60,7 @@ import { ApiV3GroupsPaths } from 'core-app/core/apiv3/endpoints/groups/apiv3-groimport { HalResource } from 'core-app/features/hal/resources/hal-resource';import { ApiV3NotificationsPaths } from 'core-app/core/apiv3/endpoints/notifications/apiv3-notifications-paths';import { ApiV3ViewsPaths } from 'core-app/core/apiv3/endpoints/views/apiv3-views-paths';+import { Apiv3BackupsPath } from 'core-app/core/apiv3/endpoints/backups/apiv3-backups-path';@Injectable({ providedIn: 'root' })export class ApiV3Service {diff --git a/frontend/src/app/core/apiv3/endpoints/backups/apiv3-backups-path.ts b/frontend/src/app/core/apiv3/endpoints/backups/apiv3-backups-path.tsindex dcb6de1caf3..c7d8db3d1e1 100644--- a/frontend/src/app/core/apiv3/endpoints/backups/apiv3-backups-path.ts+++ b/frontend/src/app/core/apiv3/endpoints/backups/apiv3-backups-path.ts@@ -26,14 +26,14 @@// See COPYRIGHT and LICENSE files for more details.//++-import { APIv3GettableResource } from 'core-app/core/apiv3/paths/apiv3-resource';import { ConfigurationResource } from 'core-app/features/hal/resources/configuration-resource';import { Observable } from 'rxjs';-import { APIV3Service } from 'core-app/core/apiv3/api-v3.service';import { HalResource } from 'core-app/features/hal/resources/hal-resource';+import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';+import { ApiV3GettableResource } from 'core-app/core/apiv3/paths/apiv3-resource';-export class Apiv3BackupsPath extends APIv3GettableResource<ConfigurationResource> {- constructor(protected apiRoot:APIV3Service,+export class Apiv3BackupsPath extends ApiV3GettableResource<ConfigurationResource> {+ constructor(protected apiRoot:ApiV3Service,readonly basePath:string) {super(apiRoot, basePath, 'backups');}diff --git a/frontend/src/app/core/backup/op-backup.service.ts b/frontend/src/app/core/backup/op-backup.service.tsindex 32010a73962..46aca3e65a3 100644--- a/frontend/src/app/core/backup/op-backup.service.ts+++ b/frontend/src/app/core/backup/op-backup.service.ts@@ -29,12 +29,12 @@import { Injectable } from '@angular/core';import { HalResource } from 'core-app/features/hal/resources/hal-resource';import { Observable } from 'rxjs';-import { APIV3Service } from 'core-app/core/apiv3/api-v3.service';+import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';@Injectable({ providedIn: 'root' })export class OpenProjectBackupService {constructor(- protected apiV3Service:APIV3Service,+ protected apiV3Service:ApiV3Service,) {}