Skip to content

Commit

Permalink
fix(ui): remove dependencies from changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Oct 18, 2023
1 parent d97d044 commit 9c4e14a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ export default {
versions?.server || null,
this.appInfo.serverVersion,
(release, i) => {
const changelog = md()
let changelog = md()
.render(release.body)
.replace(
"<h2>What's Changed</h2>",
Expand All @@ -1240,6 +1240,12 @@ export default {
'<a href="https://github.com/zwave-js/zwave-js-server/pull/$1">#$1</a>',
)
// remove everything after "⬆️ Dependencies"
changelog = changelog.substr(
0,
changelog.indexOf('⬆️ Dependencies') - 1,
)
return `${
i === 0
? '</br><h1>Server</h1><hr><br>'
Expand Down

0 comments on commit 9c4e14a

Please sign in to comment.