Skip to content

Commit

Permalink
fix: Make legacy template picker compatible with SPDX header comment
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliushaertl committed May 13, 2024
1 parent 13edfd3 commit 525fd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/NewFileMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const NewFileMenu = {

_buildTemplatePicker(data) {
return axios.get(generateFilePath('richdocuments', 'templates', 'templatePicker.html')).then(({ data: tmpl }) => {
const $tmpl = $(tmpl)
const $tmpl = $(tmpl).find('div')
// init template picker
const $dlg = $tmpl.octemplate({
dialog_name: 'template-picker',
Expand Down

0 comments on commit 525fd50

Please sign in to comment.