We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0248b5c commit 8849ee1Copy full SHA for 8849ee1
apps/desktop/src/components/v3/MultiStackCreateNew.svelte
@@ -91,11 +91,9 @@
91
}
92
93
94
- function showAndPrefillName() {
+ async function showAndPrefillName() {
95
createRefModal?.show();
96
- stackService.newBranchName(projectId).then((name) => {
97
- createRefName = name.data || '';
98
- });
+ createRefName = (await stackService.newBranchName(projectId))?.data ?? '';
99
100
101
// TODO: it would be nice to remember the last selected option for the next time the modal is opened
0 commit comments