refactor further modules to not rely on html injection

This commit is contained in:
Martin Raifer
2022-06-24 19:31:41 +02:00
parent 209cc23d92
commit 7d546a8f60
6 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export function uiCommitWarnings(context) {
containerEnter
.append('h3')
.html(severity === 'warning' ? t.html('commit.warnings') : t.html('commit.errors'));
.call(severity === 'warning' ? t.append('commit.warnings') : t.append('commit.errors'));
containerEnter
.append('ul')