fix: carry tags to new templateversions (#11502)

This commit is contained in:
Garrett Delfosse
2024-01-09 12:47:44 -05:00
committed by GitHub
parent 952706e905
commit 30d5ac060b
@@ -127,7 +127,7 @@ export const TemplateVersionEditorPage: FC = () => {
const newVersion = await createTemplateVersionMutation.mutateAsync({
provisioner: "terraform",
storage_method: "file",
tags: {},
tags: templateVersionQuery.data.job.tags,
template_id: templateQuery.data.id,
file_id: serverFile.hash,
});