mirror of
https://github.com/vale981/grapher
synced 2025-03-05 09:31:42 -05:00
workaround part deux
This commit is contained in:
parent
5a7254a181
commit
eb520a06f3
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ export default class Link {
|
|||
|
||||
let appliedFilters = _.extend({}, filters, searchFilters);
|
||||
|
||||
return linkedCollection.find(appliedFilters, options, userId);
|
||||
return (linkedCollection.find && linkedCollection.find(appliedFilters, options, userId)) || linkedCollection.default.find(appliedFilters, options, userId);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -185,4 +185,4 @@ export default class Link {
|
|||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue