-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(restquery): prefer the docs that are visible
If the get/docs/<id> id is not the document path but a number (e.g. 0) the id'th one from the tree view - so the visible dlt docs - is used and not from the known/still in mem documents. Fallback to prev method if e.g. no document is visble. Added a deprecated warning for the case where more than 1 document is know. This fallback should be removed in the future.
- Loading branch information
Showing
1 changed file
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters