Skip to content

Commit 7ac92ac

Browse files
authored
Revert "fix: refresh category list when pulling post"
1 parent e426dae commit 7ac92ac

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.refresh()
51+
postCategoryDataProvider.onPostUpdated({ refreshPost: false, postIds: [postId] })
5252
}
5353
}
5454

0 commit comments

Comments
 (0)