Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
dspasyuk authored Jul 12, 2024
1 parent 04b6966 commit c693eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/webui.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ cui.createTile = function (content, tileClass) {
tileheader.className = "tileheader";
tileElement.className = tileClass;
// Set the header text based on the tileClass
headerText.textContent = tileClass === "user-tile" ? "User" : "AI";
headerText.innerHTML = tileClass === "user-tile" ? `<i class="fas fa-user userstyle"></i>` : `<i class="fa fa-robot robotstyle"></i>`;
headerText.style.margin = "0 auto 0 0"; // Center the text
// Append the header text and button to the tileheader
tileheader.appendChild(headerText);
Expand Down

0 comments on commit c693eb1

Please sign in to comment.