diff --git a/src/i18n/lang/en.json b/src/i18n/lang/en.json index aa10f182e..02a4e9aa2 100644 --- a/src/i18n/lang/en.json +++ b/src/i18n/lang/en.json @@ -211,6 +211,7 @@ "duplicate": { "title": "Duplicate this project", "label": "Duplicate", + "text": "Select a parent project which should hold the duplicated project:", "success": "The project was successfully duplicated." }, "edit": { diff --git a/src/modelTypes/IProjectDuplicate.ts b/src/modelTypes/IProjectDuplicate.ts index a498759dd..98943f678 100644 --- a/src/modelTypes/IProjectDuplicate.ts +++ b/src/modelTypes/IProjectDuplicate.ts @@ -4,4 +4,5 @@ import type {IProject} from './IProject' export interface IProjectDuplicate extends IAbstract { projectId: number project: IProject + parentProjectId: number } \ No newline at end of file diff --git a/src/views/project/settings/duplicate.vue b/src/views/project/settings/duplicate.vue index 29b7e21d7..d8487a083 100644 --- a/src/views/project/settings/duplicate.vue +++ b/src/views/project/settings/duplicate.vue @@ -7,23 +7,25 @@ :loading="projectDuplicateService.loading" >

{{ $t('project.duplicate.text') }}

+