GetRoleOptions

Function: getRoleOptions()

[object Object]

Defined in: app/routes/admin/settings/settings.handlers.tsx:257

Utility to format roles for a Select component, filtering out roles already mapped.

Parameters

availableRoles

Role[]

Raw role data.

settings

Record<string, string>

Current settings to check for existing maps.

Returns

object[]

Formatted options.

On this page