Skip to content

Commit

Permalink
Only show first line of commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Nov 14, 2024
1 parent d30ccb8 commit 97cc527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/tabs/firmware_flasher.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ firmware_flasher.initialize = function (callback) {
const select_e = $('select[name="commits"]');
select_e.empty();
commits.forEach((commit) => {
select_e.append($(`<option value='${commit.sha}'>${commit.message}</option>`));
select_e.append($(`<option value='${commit.sha}'>${commit.message.split('\n')[0]}</option>`));
});
});

Expand Down

0 comments on commit 97cc527

Please sign in to comment.