This commit is contained in:
awesomerobot 2023-03-13 16:06:25 -04:00
parent 70db8d7466
commit 499bf851ec
2 changed files with 2 additions and 2 deletions

View File

@ -703,7 +703,7 @@ function initialize(api) {
const assigneeElements = [];
const assignedHtml = (username, path) => {
return `<span>${htmlSafe(
return `<span class="assigned-to">${htmlSafe(
I18n.t("discourse_assign.assigned_topic_to", {
username,
path,

View File

@ -136,7 +136,7 @@ acceptance("Discourse Assign | Assigned topic", function (needs) {
"shows assignment in the header"
);
assert.strictEqual(
query("#post_1 .assigned-to-group").innerText.trim(),
query("#post_1 .assigned-to").innerText.trim(),
"Developers",
"shows assignment in the first post"
);