From 5fee80d0495714f49aba980adca9c05868a58fbc Mon Sep 17 00:00:00 2001 From: Michael Drury Date: Sun, 25 Jul 2021 11:48:13 +0100 Subject: [PATCH] Linting. --- .../components/backend/DataTable/modals/EditRoles.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/backend/DataTable/modals/EditRoles.svelte b/packages/builder/src/components/backend/DataTable/modals/EditRoles.svelte index 580b3af532..588a3a8486 100644 --- a/packages/builder/src/components/backend/DataTable/modals/EditRoles.svelte +++ b/packages/builder/src/components/backend/DataTable/modals/EditRoles.svelte @@ -17,7 +17,11 @@ $: selectedRoleId = selectedRole._id $: otherRoles = editableRoles.filter(role => role._id !== selectedRoleId) $: isCreating = selectedRoleId == null || selectedRoleId === "" - $: valid = selectedRole.name && selectedRole.inherits && selectedRole.permissionId && !builtInRoles.includes(selectedRole.name) + $: valid = + selectedRole.name && + selectedRole.inherits && + selectedRole.permissionId && + !builtInRoles.includes(selectedRole.name) const fetchBasePermissions = async () => { const permissionsResponse = await api.get("/api/permission/builtin")