TF-3316 Fix inconsistent vacation message

This commit is contained in:
DatDang
2024-12-09 15:22:58 +07:00
committed by Dat H. Pham
parent a3aee57256
commit 71903d270f
11 changed files with 9 additions and 17 deletions
@@ -90,7 +90,7 @@ class VacationController extends BaseController {
void _initializeValueForVacation(VacationPresentation newVacation) {
vacationPresentation.value = newVacation;
subjectTextController.text = newVacation.subject ?? '';
updateMessageHtmlText(newVacation.messageHtmlText ?? newVacation.messagePlainText ?? '');
updateMessageHtmlText(newVacation.messageHtmlText ?? '');
if (PlatformInfo.isWeb) {
_richTextControllerForWeb.editorController.setText(newVacation.messageHtmlText ?? '');
} else {