Skip to content

Commit 1a3c142

Browse files
committed
fix(bcf): allow navigation in topic docs
1 parent c4aa740 commit 1a3c142

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/views/project-board/project-bcf/ProjectBcf.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,12 @@ export default {
721721
};
722722
723723
const openTopicDocument = (document) => {
724+
const files = currentTopic.value.documents.map(doc =>
725+
fileStructureHandler.get({
726+
nature: FILE_TYPE.DOCUMENT,
727+
id: doc.guid
728+
})
729+
);
724730
const file = fileStructureHandler.get({
725731
nature: FILE_TYPE.DOCUMENT,
726732
id: document.guid
@@ -731,7 +737,7 @@ export default {
731737
project: currentProject.value,
732738
folder: {},
733739
document: file,
734-
currentView: [file],
740+
currentView: files,
735741
selectedFileTab: {},
736742
},
737743
});

0 commit comments

Comments
 (0)