Skip to content

Commit

Permalink
handle no shop domain case
Browse files Browse the repository at this point in the history
  • Loading branch information
gracejychang committed Aug 2, 2024
1 parent 220ce1a commit 5c73571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/cli/prompts/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export async function selectStorePrompt(

const storeList = stores.map((store) => {
let label = store.shopName
if (showDomainOnPrompt) {
if (showDomainOnPrompt && store.shopDomain) {
label = `${store.shopName} (${store.shopDomain})`
}
return {label, value: store.shopId}
Expand Down

0 comments on commit 5c73571

Please sign in to comment.