✨ (theme) Add theme templates
Allows you to save your themes and select a theme from Typebot's gallery Closes #275
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { MemberInWorkspace } from '@typebot.io/prisma'
|
||||
|
||||
export const getUserRoleInWorkspace = (
|
||||
userId: string,
|
||||
workspaceMembers: MemberInWorkspace[] | undefined
|
||||
) => workspaceMembers?.find((member) => member.userId === userId)?.role
|
||||
Reference in New Issue
Block a user