garrensmith commented on a change in pull request #1148: [partitioned-dbs] 
Updates to sidebar
URL: https://github.com/apache/couchdb-fauxton/pull/1148#discussion_r229590956
 
 

 ##########
 File path: app/addons/documents/base.js
 ##########
 @@ -42,14 +42,18 @@ function getQueryParam (query) {
   return query;
 }
 
+function partitionUrlComponent(partitionKey) {
+  return partitionKey ? '/_partition/' + partitionKey : '';
 
 Review comment:
   Can you rather do `return partitionKey ? "/_partition/${partitionKey}" : '';`
   I've had to add in the wrong " at the top because of markdown.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to