Skip to content

Commit edf316f

Browse files
Merge pull request #58 from mohamedsabil83/fix/console
[fix]: Returning parent name when extended
2 parents bfb8041 + c28b28f commit edf316f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/Commands/ListThemes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function handle()
4040
'vendor' => $theme->getVendor(),
4141
'version' => $theme->getVersion(),
4242
'description' => $theme->getDescription(),
43-
'extends' => $theme->getParent() ? $theme->getParent() : '',
43+
'extends' => $theme->getParent() ? $theme->getParent()->getName() : '',
4444
'default' => $theme->getName() === config('themes-manager.fallback_theme') ? 'X' : '',
4545
];
4646
}

0 commit comments

Comments
 (0)