-
Notifications
You must be signed in to change notification settings - Fork 116
chore: only show the "Open in Stackblitz" button when there are no actual templates defined #349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
f2fb758
009dcc2
7a9a768
1076161
8c8297c
057ab9f
8d2a105
c2538bb
6c249b8
79df426
5834fa6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -315,7 +315,7 @@ const main = defineCommand({ | |
|
|
||
| const noDefaultTemplate = args.template === false; | ||
|
|
||
| if (!noDefaultTemplate) { | ||
| if (!noDefaultTemplate && templates.length === 0) { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should it be an
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it should be an
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That makes total sense. |
||
| const project = createDefaultTemplate( | ||
| Object.fromEntries(deps.entries()), | ||
| ); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.