Skip to content

Commit 9da2a4e

Browse files
committed
Use folder names instead of handles
1 parent dc8ec20 commit 9da2a4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Operations/UpdateArticleSets.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function run(): Installable
6363
if ($useExistingGroup) {
6464
$group = select(
6565
label: "In which group of article sets do you want to install: '{$name}'?",
66-
options: array_keys($existingGroups),
66+
options: collect($existingGroups)->map(fn($item)=> $item['display'])->all(),
6767
scroll: 10
6868
);
6969

src/Operations/UpdatePageBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function updatePageBuilder($name, $instructions, $icon, $filename): vo
7272
if ($useExistingGroup) {
7373
$group = select(
7474
label: "In which group of page builder blocks do you want to install: '$name'?",
75-
options: array_keys($existingGroups),
75+
options: collect($existingGroups)->map(fn($item)=> $item['display'])->all(),
7676
scroll: 10
7777
);
7878

0 commit comments

Comments
 (0)