protected function renderHtml() { if ($this->notifyEnable) { $notifyFlags = $this->mailNotifyService->getSettings($this->userService->getCurrentUser()->id); return view('user.edit._mail-notify', compact('notifyFlags'))->render(); } return null; }