This commit is contained in:
Martin McKeaveney 2021-07-06 18:56:41 +01:00
parent dbef8077f0
commit e9d6ddb571
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
// Don't allow editing of public role // Don't allow editing of public role
$: editableRoles = $roles.filter(role => role._id !== "PUBLIC") $: editableRoles = $roles.filter(role => role._id !== "PUBLIC")
$: selectedRoleId = selectedRole._id $: selectedRoleId = selectedRole._id
$: otherRoles = $editableRoles.filter(role => role._id !== selectedRoleId) $: otherRoles = editableRoles.filter(role => role._id !== selectedRoleId)
$: isCreating = selectedRoleId == null || selectedRoleId === "" $: isCreating = selectedRoleId == null || selectedRoleId === ""
const fetchBasePermissions = async () => { const fetchBasePermissions = async () => {