provide correct open prop type
flag=none test plan: - specs pass qa risk: low Change-Id: I87b4cab226a401e1a46f5ee15827e3192d8ad978 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274130 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com> QA-Review: Omar Soto-Fortuño <omar.soto@instructure.com> Product-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
This commit is contained in:
parent
6b0271a7a5
commit
0a394efa1b
|
@ -70,7 +70,6 @@ const ignoredErrors = [
|
||||||
/Invalid prop `heading` of type `object` supplied to `Billboard`/, // https://instructure.atlassian.net/browse/QUIZ-8870
|
/Invalid prop `heading` of type `object` supplied to `Billboard`/, // https://instructure.atlassian.net/browse/QUIZ-8870
|
||||||
/Invalid prop `headingAs` of value `h4` supplied to `Billboard`/,
|
/Invalid prop `headingAs` of value `h4` supplied to `Billboard`/,
|
||||||
/Invalid prop `id` of type `number` supplied to `Option`/,
|
/Invalid prop `id` of type `number` supplied to `Option`/,
|
||||||
/Invalid prop `open` of type `number` supplied to `(Modal|ModalSpinner)`/,
|
|
||||||
/Invalid prop `outcomesGroup.contextId` of type `number` supplied to `FindOutcomesView`, expected `string`/,
|
/Invalid prop `outcomesGroup.contextId` of type `number` supplied to `FindOutcomesView`, expected `string`/,
|
||||||
/Invalid prop `returnFocusTo` of type `DeprecatedComponent` supplied to `(CourseHomeDialog|HomePagePromptContainer)`/,
|
/Invalid prop `returnFocusTo` of type `DeprecatedComponent` supplied to `(CourseHomeDialog|HomePagePromptContainer)`/,
|
||||||
/Invalid prop `selectedDate` of type `date` supplied to `CanvasDateInput`/,
|
/Invalid prop `selectedDate` of type `date` supplied to `CanvasDateInput`/,
|
||||||
|
|
|
@ -214,7 +214,7 @@ const ComposeModalContainer = props => {
|
||||||
label={I18n.t('Uploading Files')}
|
label={I18n.t('Uploading Files')}
|
||||||
message={I18n.t('Please wait while we upload attachments')}
|
message={I18n.t('Please wait while we upload attachments')}
|
||||||
onExited={() => sendMessage()}
|
onExited={() => sendMessage()}
|
||||||
open={props.sendingMessage && attachmentsToUpload.length}
|
open={props.sendingMessage && !!attachmentsToUpload.length}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue