Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
soimugeo committed Jan 10, 2025
1 parent 9dcbda0 commit d1bb476
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ private void handleCreateNewProjectFromProjectBackup(ProjectCreatedHandler proje
private void submitCreateNewProjectFromProjectBackupRequest(NewProjectSettings newProjectSettings, ProjectCreatedHandler projectCreatedHandler) {
String uuid = UuidV4.uuidv4();
ProjectId newProjectId = ProjectId.get(uuid);
dispatchServiceManager.execute(new CreateNewProjectFromProjectBackupAction(newProjectId, newProjectSettings, view.getProjectVersioningBranch()),
String branchName = view.getProjectVersioningBranch();
dispatchServiceManager.execute(new CreateNewProjectFromProjectBackupAction(newProjectId, newProjectSettings, branchName),
new DispatchServiceCallbackWithProgressDisplay<CreateNewProjectFromProjectBackupResult>(
errorDisplay,
progressDisplay) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,6 @@ public boolean isBackupFileSourceType() {

@Override
public String getProjectVersioningBranch() {
return backupFileBranchField.getText().trim();
return backupFileBranchField.getValue().trim();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ public NewProjectSettings getNewProjectSettings() {
return newProjectSettings;
}

public String getBranchName() {
return branchName;
}

@Override
public int hashCode() {
return Objects.hashCode(newProjectId, newProjectSettings);
Expand Down

0 comments on commit d1bb476

Please sign in to comment.