Skip to content

Commit e5671d1

Browse files
committed
enable save and delete function of users
1 parent aba344d commit e5671d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/Http/Livewire/Administration/UsersDialog.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function save(): void {
8888
$this->user->name = $data['name'];
8989
$this->user->email = $data['email'];
9090
$this->user->role = $data['role'];
91-
// $this->user->save();
91+
$this->user->save();
9292
Notification::make()
9393
->success()
9494
->title(__('User updated'))
@@ -104,7 +104,7 @@ public function save(): void {
104104
* @return void
105105
*/
106106
public function doDeleteUser(): void {
107-
// $this->user->delete();
107+
$this->user->delete();
108108
$this->deleteConfirmationOpened = false;
109109
$this->emit('userDeleted');
110110
Notification::make()

0 commit comments

Comments
 (0)