File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,14 @@ export function editTitle (resource: { item: Item }) {
2626
2727 try {
2828 inputBox . hide ( ) ;
29+
2930 await client . updateItem ( item . id , {
3031 body : item . body ,
3132 tags : item . tags ,
3233 title : inputBox . value ,
3334 } ) ;
34- qiitaItemsProvider . refreshItems ( ) ;
35+
36+ await qiitaItemsProvider . refreshItems ( ) ;
3537
3638 return window . showInformationMessage ( localize (
3739 'commands.editTitle.success' ,
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ export async function makePublic (resource: { item: Item }) {
4747 tags : resource . item . tags ,
4848 private : false ,
4949 } ) ;
50- qiitaItemsProvider . refreshItems ( ) ;
50+
51+ await qiitaItemsProvider . refreshItems ( ) ;
5152
5253 return window . showInformationMessage ( localize (
5354 'commands.makePublic.success' ,
You can’t perform that action at this time.
0 commit comments