File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
apps/desktop/src/components Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 134
134
});
135
135
});
136
136
137
+ let isCreatingReview = $state <boolean >(false );
137
138
const isExecuting = $derived (
138
139
branchPublishing .current .isLoading ||
139
140
PRNumberUpdate .current .isLoading ||
140
141
stackPush .current .isLoading ||
141
- aiIsLoading
142
+ aiIsLoading ||
143
+ isCreatingReview
142
144
);
143
145
144
146
const canPublishBR = $derived (!! ($canPublish && branch ?.name && ! branch .reviewId ));
191
193
if (! branch ) return ;
192
194
if (! $user ) return ;
193
195
196
+ isCreatingReview = true ;
197
+ await tick ();
198
+
194
199
const upstreamBranchName = await pushIfNeeded ();
195
200
196
201
let reviewId: string | undefined ;
229
234
prBody .reset ();
230
235
prTitle .reset ();
231
236
237
+ isCreatingReview = false ;
232
238
onClose ();
233
239
}
234
240
You can’t perform that action at this time.
0 commit comments