Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Add type template and isPrivate true when saving from submission …
Browse files Browse the repository at this point in the history
…page (#5328)
  • Loading branch information
debuggy authored Mar 1, 2021
1 parent ea3d044 commit 50798d9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ export const SubmissionSection = props => {
template.description = templateDescription;
template.protocol = protocol.toYaml();
template.source = 'pai';
template.type = 'template';
template.isPrivate = true;
template.author = user;
try {
await createTemplate(template);
Expand Down

0 comments on commit 50798d9

Please sign in to comment.