Skip to content

Commit

Permalink
Creating a Template via a new DocType
Browse files Browse the repository at this point in the history
uses the doc-type name, so that the server
can case it accordingly for the template filename.
re: #17458 (comment)
  • Loading branch information
leekelleher committed Feb 6, 2025
1 parent 82fcede commit 3447549
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class UmbDocumentTypeWorkspaceContext
async #createAndAssignTemplate() {
const { data: templateScaffold } = await this.#templateRepository.createScaffold({
name: this.getName(),
alias: this.getAlias(),
alias: this.getName(), // NOTE: Uses "name" over alias, as the server handle the template filename. [LK]
});

if (!templateScaffold) throw new Error('Could not create template scaffold');
Expand Down

0 comments on commit 3447549

Please sign in to comment.