|
|
@@ -187,10 +187,12 @@ class Profile extends Component
|
|
|
|
|
|
public function cancel()
|
|
|
{
|
|
|
- $this->editMode = false;
|
|
|
- $this->password = '';
|
|
|
+ return redirect()->to('/dashboard');
|
|
|
+
|
|
|
+ // $this->editMode = false;
|
|
|
+ // $this->password = '';
|
|
|
|
|
|
- $this->mount();
|
|
|
+ // $this->mount();
|
|
|
}
|
|
|
|
|
|
private function resetInputFields()
|