Skip to content

Commit c51fc17

Browse files
committed
Bug-fix: assign all roles
1 parent 4cc41e1 commit c51fc17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Http/Livewire/Administration/UsersDialog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class="text-xs text-primary-500 hover:text-primary-600 hover:underline"
124124
*/
125125
public function assignAllRoles(): void
126126
{
127-
$this->roles = Permission::all()->pluck('id')->toArray();
127+
$this->roles = Role::all()->pluck('id')->toArray();
128128
}
129129

130130
/**

0 commit comments

Comments
 (0)