Skip to content

fix: restore {{WIDGET_DATA}} placeholder in widget template#2

Open
vielhuber wants to merge 1 commit into
kibotu:mainfrom
vielhuber:fix/restore-widget-data-placeholder
Open

fix: restore {{WIDGET_DATA}} placeholder in widget template#2
vielhuber wants to merge 1 commit into
kibotu:mainfrom
vielhuber:fix/restore-widget-data-placeholder

Conversation

@vielhuber

Copy link
Copy Markdown

Problem

The templates/widget.html.template file contained hardcoded commit data instead of the {{WIDGET_DATA}} placeholder. This meant the build script (src/build-widget.js) could not inject the actual data via template.replace('{{WIDGET_DATA}}', dataJson).

Fix

Restored the {{WIDGET_DATA}} placeholder so the template works correctly as a template again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant