Skip to content

Commit

Permalink
feat(ui): parse fw OTA changelog
Browse files Browse the repository at this point in the history
Fixes #3420
  • Loading branch information
robertsLando committed Nov 16, 2023
1 parent 9dbe5bf commit d61ffe7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/nodes-table/OTAUpdates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@ export default {
this.loading = false
if (response.success) {
const { default: md } = await import('markdown-it')
// convert markdown changelog to html
for (const update of response.result) {
update.changelog = md().render(update.changelog)
}
this.fwUpdates = response.result
} else {
this.showSnackbar(
Expand Down

0 comments on commit d61ffe7

Please sign in to comment.