Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

383-update-disabled-request-message #384

Merged
merged 3 commits into from
Feb 24, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pages/requests/new/[ware].js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { default as BsForm } from 'react-bootstrap/Form'
import Form from '@rjsf/core'
import validator from '@rjsf/validator-ajv8'
import { useRouter } from 'next/router'
import { signIn } from 'next-auth/react'
import {
AdditionalInfo,
BlankRequestForm,
Expand All @@ -22,6 +23,7 @@ import {
sendRequestToVendor,
useInitializeRequest,
useOneWare,

DaltonMcauliffe marked this conversation as resolved.
Show resolved Hide resolved
} from '../../../utils'

const NewRequest = ({ session }) => {
Expand Down Expand Up @@ -266,7 +268,7 @@ const SignInRequired = () => (
<Notice
addClass='mt-5'
alert={{
body: ['To proceed with making a request, please log in to your account.'],
body: [<p>To proceed with making a request, <a href="#" onClick={() => signIn(process.env.NEXT_PUBLIC_PROVIDER_NAME)}>please log in</a> to your account.</p>],
title: 'Sign in required',
variant: 'info'
}}
Expand Down
Loading