Fix missing value on examples.js

flag=none

test plan:
  - Specs pass

qa risk: low

Change-Id: If48d470b51d92e22bc3c5ea26a311d04eda366f1
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/277200
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Drake Harper <drake.harper@instructure.com>
QA-Review: Drake Harper <drake.harper@instructure.com>
Product-Review: Drake Harper <drake.harper@instructure.com>
This commit is contained in:
Omar Gerardo Soto-Fortuño 2021-11-01 13:59:09 -04:00 committed by Omar Soto-Fortuño
parent c32c54a887
commit b37ce854f3
2 changed files with 4 additions and 1 deletions

View File

@ -113,7 +113,6 @@ const ignoredErrors = [
/The prop `rubric.id` is marked as required in `RubricTab`/,
/The prop `rubricAssessment.data\[0\].criterion_id` is marked as required in `Rubric`/,
/The prop `screenReaderLabel` is marked as required in `IconButton`/,
/The prop `selectedRoles\[0\].value` is marked as required in `PermissionsIndex`/,
/The prop `text` is marked as required in `(SVGWithTextPlaceholder|TextPlaceholder)`/,
/The prop `value` is marked as required in `CanvasSelectOption`/,
/Unexpected keys "searchPermissions", "filterRoles", "tabChanged", "setAndOpenAddTray" found in preloadedState argument passed to createStore/,

View File

@ -57,6 +57,7 @@ const BASIC_ROLE_PERMISSION = {
const ROLES = [
{
id: '1',
value: '1',
label: 'Course Admin',
base_role_type: 'Course Admin',
contextType: COURSE,
@ -68,6 +69,7 @@ const ROLES = [
},
{
id: '2',
value: '2',
label: 'Course Sub-Admin',
base_role_type: 'Course Admin',
contextType: COURSE,
@ -79,6 +81,7 @@ const ROLES = [
},
{
id: '3',
value: '3',
label: 'Account Admin',
base_role_type: 'Account Admin',
contextType: ACCOUNT,
@ -87,6 +90,7 @@ const ROLES = [
},
{
id: '4',
value: '4',
label: 'Account Sub-admin',
base_role_type: 'Account Admin',
contextType: ACCOUNT,