Skip to content
Snippets Groups Projects
Commit 076dc7ce authored by omkar podey's avatar omkar podey
Browse files

Update UpdateReady Class

parent 11515f3e
No related branches found
No related tags found
No related merge requests found
...@@ -289,7 +289,7 @@ final class UpdateReady extends FormBase { ...@@ -289,7 +289,7 @@ final class UpdateReady extends FormBase {
* The human-readable title of the project. * The human-readable title of the project.
*/ */
private function getProjectTitle(string $package_name): string { private function getProjectTitle(string $package_name): string {
$project_name = str_replace('drupal/', '', $package_name); $project_name = $this->updater->getStageComposer()->getProjectForPackage($package_name);
$project_info = new ProjectInfo($project_name); $project_info = new ProjectInfo($project_name);
$project_data = $project_info->getProjectInfo(); $project_data = $project_info->getProjectInfo();
if ($project_data) { if ($project_data) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment