File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
apps/desktop/src/lib/branch Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3838 let aiConfigurationValid = $state (false );
3939 let newRemoteName = $state (' ' );
4040 let allowRebasing = $state <boolean >();
41- let loadingDelete = $state (false );
41+ let isDeleting = $state (false );
4242
4343 const branch = $derived ($branchStore );
4444 const commits = $derived (branch .commits );
189189 bind:this ={deleteBranchModal }
190190 onSubmit ={async (close ) => {
191191 try {
192- loadingDelete = true ;
192+ isDeleting = true ;
193193 await branchController .deleteBranch (branch .id );
194194 close ();
195195 } finally {
196- loadingDelete = false ;
196+ isDeleting = false ;
197197 }
198198 }}
199199>
202202 {/ snippet }
203203 {#snippet controls (close )}
204204 <Button style ="ghost" outline onclick ={close }>Cancel</Button >
205- <Button style ="error" kind ="solid" type ="submit" loading ={loadingDelete }>Delete</Button >
205+ <Button style ="error" kind ="solid" type ="submit" loading ={isDeleting }>Delete</Button >
206206 {/ snippet }
207207</Modal >
You can’t perform that action at this time.
0 commit comments