Skip to content

Commit e426dae

Browse files
authored
Merge pull request #233 from cnblogs/refresh-category-list-when-pull
fix: refresh category list when pulling post
2 parents 35833e2 + 4f1cf18 commit e426dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service/post/post-file-map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export namespace PostFileMapManager {
4848
await LocalState.setState(storageKey, maps.filter(validatePostFileMap))
4949
if (emitEvent) {
5050
postDataProvider.fireTreeDataChangedEvent(postId)
51-
postCategoryDataProvider.onPostUpdated({ refreshPost: false, postIds: [postId] })
51+
postCategoryDataProvider.refresh()
5252
}
5353
}
5454

0 commit comments

Comments
 (0)