Skip to content

Commit 6877fbb

Browse files
zhendiCYan1203
andauthored
fix(FileList): reset file page cursor on branch change (#1497)
Co-authored-by: niuran <1287936158@qq.com>
1 parent 6ae0a06 commit 6877fbb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

frontend/src/components/shared/FileList.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@
267267
currentBranch.value = branch
268268
currentPath.value = ''
269269
270+
filePageCursor.value = ''
271+
270272
setRepoTab({
271273
currentBranch: branch,
272274
actionName: 'files',

0 commit comments

Comments
 (0)