Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion SQLSchemaCompare.UI/wwwroot/js/Main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ class Main {
if (Utility.IsNullOrWhitespace(targetItem)) {
targetItem = Localization.Get("LabelDoesNotExist");
}
$(".tcx-diff-item-name").html(`${sourceItem} <span class='fa fa-long-arrow-alt-right'></span> ${targetItem}`);
const diffItemName = $(".tcx-diff-item-name");
diffItemName.empty();
diffItemName.append(document.createTextNode(sourceItem));
diffItemName.append($("<span>").addClass("fa fa-long-arrow-alt-right mx-1"));
diffItemName.append(document.createTextNode(targetItem));

void Utility.AjaxCall<CompareResultItemScripts>(this.resultItemScriptsUrl + rowId, HttpMethod.Get).then((response): void => {
EditorManager.CreateEditor(EditorType.Diff, "sqlDiff", {
Expand Down
Loading