Skip to content

Commit

Permalink
Editor / fix subtemplate editing
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow authored and fxprunayre committed Feb 21, 2022
1 parent b38d300 commit d7495a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
return {
buildEditUrlPrefix: function(service) {
var params = ['../api/records/',
gnCurrentEdit.metadata.uuid, '/', service, '?'];
gnCurrentEdit.metadata ? gnCurrentEdit.metadata.uuid : gnCurrentEdit.id, '/', service, '?'];
gnCurrentEdit.tab ?
params.push('&currTab=', gnCurrentEdit.tab) :
params.push('&currTab=', 'default');
Expand Down

0 comments on commit d7495a1

Please sign in to comment.