Skip to content

Commit 580ddf5

Browse files
committed
fixing build error
1 parent 13ce48f commit 580ddf5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/views/Browsers/OntologyBrowser.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ export default {
288288
// CASE 2: Active Search
289289
const targetId = newTerm.identifier || newTerm;
290290
const strTargetId = String(targetId);
291-
292291
// 1. Find ALL paths to the target node
293292
const allPaths = this.findAllPaths(this.tree, targetId);
294293
@@ -431,7 +430,7 @@ export default {
431430
* Prune logic that supports multiple matches
432431
* @param nodes
433432
* @param targetId
434-
* @return {*[]}
433+
* @return Array
435434
*/
436435
pruneTreeWithChildren(nodes, targetId) {
437436
const filtered = [];
@@ -470,7 +469,7 @@ export default {
470469
/**
471470
* SAFE CHECK: Checks if a node is open regardless of ID type (String/Number)
472471
* @param identifier
473-
* @return {*|boolean}
472+
* @return Boolean
474473
*/
475474
isOpen(identifier) {
476475
if (!this.openedTerms) return false;
@@ -482,7 +481,6 @@ export default {
482481
* Updates the search property with the first element of the provided value array
483482
* and calls the toggleNode method with the same element.
484483
* @param {Array} value - An array where the first element is used to update the search property and passed to the toggleNode method.
485-
* @return {void}
486484
*/
487485
subjectNode(value) {
488486
if (value && value.length) {

0 commit comments

Comments
 (0)