if (data.returnValues.errorMessage) {
DomUtil.innerError(
document.getElementById("participantsInput")!.closest(".inputItemList") as HTMLElement,
- data.returnValues.errorMessage
+ data.returnValues.errorMessage,
);
return;
}
visibility: null as null | string,
};
const visibility = UiDialog.getDialog(this)!.content.querySelector(
- 'input[name="messageVisibility"]:checked, input[name="messageVisibility"][type="hidden"]'
+ 'input[name="messageVisibility"]:checked, input[name="messageVisibility"][type="hidden"]',
) as HTMLInputElement;
if (visibility) {
protected getCurrentValue(): string {
return Array.from(
document.querySelectorAll(
- `.jsConversationSubject[data-conversation-id="${this.objectId}"], .conversationLink[data-object-id="${this.objectId}"]`
- )
+ `.jsConversationSubject[data-conversation-id="${this.objectId}"], .conversationLink[data-object-id="${this.objectId}"]`,
+ ),
)
.map((subject: HTMLElement) => subject.textContent!)
.slice(-1)[0];
document
.querySelectorAll(
- `.jsConversationSubject[data-conversation-id="${this.objectId}"], .conversationLink[data-object-id="${this.objectId}"]`
+ `.jsConversationSubject[data-conversation-id="${this.objectId}"], .conversationLink[data-object-id="${this.objectId}"]`,
)
.forEach((subject) => {
subject.textContent = data.returnValues.subject;