Responsiveness and tabs #179
@ -457,10 +457,8 @@ export const CreatePage = () => {
|
||||
return false
|
||||
}
|
||||
|
||||
if (users.length === 0) {
|
||||
toast.error(
|
||||
'No signer/viewer is provided. At least add one signer or viewer.'
|
||||
)
|
||||
if (!users.some((u) => u.role === UserRole.signer)) {
|
||||
toast.error('No signer is provided. At least add one signer.')
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user