diff --git a/app/components/instructorgroup-header.hbs b/app/components/instructorgroup-header.hbs
index b2f16ac2a2..f026e77001 100644
--- a/app/components/instructorgroup-header.hbs
+++ b/app/components/instructorgroup-header.hbs
@@ -21,7 +21,7 @@
disabled={{isSaving}}
onkeyup={{action "addErrorDisplayFor" "title"}}
>
- {{#if (and (v-get this "title" "isInvalid") (contains "title" showErrorsFor))
+ {{#if (and (v-get this "title" "isInvalid") (includes "title" showErrorsFor))
}}
{{v-get this "title" "message"}}
diff --git a/app/components/learnergroup-cohort-user-manager.hbs b/app/components/learnergroup-cohort-user-manager.hbs
index 1b2e3246c0..ee85e4607c 100644
--- a/app/components/learnergroup-cohort-user-manager.hbs
+++ b/app/components/learnergroup-cohort-user-manager.hbs
@@ -54,7 +54,7 @@
{{#if @canUpdate}}
{{/if}}
@@ -78,7 +78,7 @@
|
{{#if user.enabled}}
- {{#if (contains user this.usersBeingMoved)}}
+ {{#if (includes user this.usersBeingMoved)}}
{{else if (and @canUpdate (eq this.selectedUsers.length 0))}}
{{#if
- (and (v-get this "title" "isInvalid") (contains "title" showErrorsFor))
+ (and (v-get this "title" "isInvalid") (includes "title" showErrorsFor))
}}
{{v-get this "title" "message"}}
diff --git a/app/components/learnergroup-list.hbs b/app/components/learnergroup-list.hbs
index 2f13a83d2e..85df1816d9 100644
--- a/app/components/learnergroup-list.hbs
+++ b/app/components/learnergroup-list.hbs
@@ -38,7 +38,7 @@
{{#each (sort-by this.sortBy @learnerGroups) as |learnerGroup|}}
- {{#if (contains learnerGroup this.preparingToRemove)}}
+ {{#if (includes learnerGroup this.preparingToRemove)}}
{{else}}
@@ -93,7 +93,7 @@
{{/if}}
- {{#if (contains learnerGroup.id (map-by "id" this.toRemove))}}
+ {{#if (includes learnerGroup.id (map-by "id" this.toRemove))}}
{{#let (find-by "id" learnerGroup.id this.toRemove) as |removableGroup|}}
@@ -143,7 +143,7 @@
|
{{/let}}
{{/if}}
- {{#if (contains learnerGroup this.toCopy)}}
+ {{#if (includes learnerGroup this.toCopy)}}
diff --git a/app/components/learnergroup-summary.hbs b/app/components/learnergroup-summary.hbs
index 79ab3f076b..a367bfccda 100644
--- a/app/components/learnergroup-summary.hbs
+++ b/app/components/learnergroup-summary.hbs
@@ -28,7 +28,7 @@
{{#if
(and
(v-get this "location" "isInvalid")
- (contains "location" showErrorsFor)
+ (includes "location" showErrorsFor)
)
}}
diff --git a/app/components/learnergroup-user-manager.hbs b/app/components/learnergroup-user-manager.hbs
index 58cf13c832..8aacdafd61 100644
--- a/app/components/learnergroup-user-manager.hbs
+++ b/app/components/learnergroup-user-manager.hbs
@@ -75,7 +75,7 @@
{{#if @isEditing}}
{{/if}}
@@ -108,7 +108,7 @@
|
- {{#if (contains user.content this.usersBeingMoved)}}
+ {{#if (includes user.content this.usersBeingMoved)}}
{{else if user.enabled}}
{{#if (eq this.selectedUsers.length 0)}}
@@ -144,7 +144,7 @@
{{#if @isEditing}}
{{/if}}
@@ -177,7 +177,7 @@
|
- {{#if (contains user.content this.usersBeingMoved)}}
+ {{#if (includes user.content this.usersBeingMoved)}}
{{else if user.enabled}}
{{#if (eq this.selectedUsers.length 0)}}
diff --git a/app/components/new-competency.hbs b/app/components/new-competency.hbs
index 514928cd69..114d0f9f08 100644
--- a/app/components/new-competency.hbs
+++ b/app/components/new-competency.hbs
@@ -12,7 +12,7 @@
{{t "general.add"}}
{{/if}}
-{{#if (and (v-get this "title" "isInvalid") (contains "title" showErrorsFor))}}
+{{#if (and (v-get this "title" "isInvalid") (includes "title" showErrorsFor))}}
{{v-get this "title" "message"}}
diff --git a/app/components/new-course.hbs b/app/components/new-course.hbs
index af19bfae74..2ef097739f 100644
--- a/app/components/new-course.hbs
+++ b/app/components/new-course.hbs
@@ -17,7 +17,7 @@
onkeyup={{action "addErrorDisplayFor" "title"}}
>
{{#if
- (and (v-get this "title" "isInvalid") (contains "title" this.showErrorsFor))
+ (and (v-get this "title" "isInvalid") (includes "title" this.showErrorsFor))
}}
{{v-get this "title" "message"}}
diff --git a/app/components/new-curriculum-inventory-report.hbs b/app/components/new-curriculum-inventory-report.hbs
index a33866ac95..453c7e6b21 100644
--- a/app/components/new-curriculum-inventory-report.hbs
+++ b/app/components/new-curriculum-inventory-report.hbs
@@ -16,7 +16,7 @@
onkeyup={{action "addErrorDisplayFor" "name"}}
placeholder={{t "general.reportNamePlaceholder"}}
>
- {{#if (and (v-get this "name" "isInvalid") (contains "name" showErrorsFor))}}
+ {{#if (and (v-get this "name" "isInvalid") (includes "name" showErrorsFor))}}
{{v-get this "name" "message"}}
diff --git a/app/components/new-curriculum-inventory-sequence-block.hbs b/app/components/new-curriculum-inventory-sequence-block.hbs
index 8667950461..3a6ce1c115 100644
--- a/app/components/new-curriculum-inventory-sequence-block.hbs
+++ b/app/components/new-curriculum-inventory-sequence-block.hbs
@@ -15,7 +15,7 @@
onkeyup={{action "addErrorDisplayFor" "title"}}
placeholder={{t "general.sequenceBlockTitlePlaceholder"}}
>
- {{#if (and (v-get this "title" "isInvalid") (contains "title" showErrorsFor))
+ {{#if (and (v-get this "title" "isInvalid") (includes "title" showErrorsFor))
}}
{{v-get this "title" "message"}}
@@ -87,7 +87,7 @@
/>
{{#if
(and
- (v-get this "startDate" "isInvalid") (contains "startDate" showErrorsFor)
+ (v-get this "startDate" "isInvalid") (includes "startDate" showErrorsFor)
)
}}
@@ -105,7 +105,7 @@
data-test-end-date-picker
/>
{{#if
- (and (v-get this "endDate" "isInvalid") (contains "endDate" showErrorsFor))
+ (and (v-get this "endDate" "isInvalid") (includes "endDate" showErrorsFor))
}}
{{v-get this "endDate" "message"}}
@@ -125,7 +125,7 @@
>
{{#if
(and
- (v-get this "duration" "isInvalid") (contains "duration" showErrorsFor)
+ (v-get this "duration" "isInvalid") (includes "duration" showErrorsFor)
)
}}
@@ -156,7 +156,7 @@
onkeyup={{action "addErrorDisplayFor" "minimum"}}
>
{{#if
- (and (v-get this "minimum" "isInvalid") (contains "minimum" showErrorsFor))
+ (and (v-get this "minimum" "isInvalid") (includes "minimum" showErrorsFor))
}}
{{v-get this "minimum" "message"}}
@@ -175,7 +175,7 @@
onkeyup={{action "addErrorDisplayFor" "maximum"}}
>
{{#if
- (and (v-get this "maximum" "isInvalid") (contains "maximum" showErrorsFor))
+ (and (v-get this "maximum" "isInvalid") (includes "maximum" showErrorsFor))
}}
{{v-get this "maximum" "message"}}
diff --git a/app/components/new-directory-user.hbs b/app/components/new-directory-user.hbs
index adaafe01f2..b8cb782cb5 100644
--- a/app/components/new-directory-user.hbs
+++ b/app/components/new-directory-user.hbs
@@ -68,7 +68,7 @@
onkeyup={{action "addErrorDisplayFor" "otherId"}}
>
{{#if
- (and (v-get this "otherId" "isInvalid") (contains "otherId" showErrorsFor))
+ (and (v-get this "otherId" "isInvalid") (includes "otherId" showErrorsFor))
}}
{{v-get this "otherId" "message"}}
@@ -88,7 +88,7 @@
>
{{#if
(and
- (v-get this "username" "isInvalid") (contains "username" showErrorsFor)
+ (v-get this "username" "isInvalid") (includes "username" showErrorsFor)
)
}}
@@ -114,7 +114,7 @@
>
{{#if
(and
- (v-get this "password" "isInvalid") (contains "password" showErrorsFor)
+ (v-get this "password" "isInvalid") (includes "password" showErrorsFor)
)
}}
diff --git a/app/components/new-instructorgroup.hbs b/app/components/new-instructorgroup.hbs
index ea3ceecd4d..f961b1121c 100644
--- a/app/components/new-instructorgroup.hbs
+++ b/app/components/new-instructorgroup.hbs
@@ -15,7 +15,7 @@
placeholder={{t "general.instructorGroupTitlePlaceholder"}}
data-test-title
>
- {{#if (and (v-get this "title" "isInvalid") (contains "title" showErrorsFor))}}
+ {{#if (and (v-get this "title" "isInvalid") (includes "title" showErrorsFor))}}
{{v-get this "title" "message"}}
diff --git a/app/components/new-learnergroup-multiple.hbs b/app/components/new-learnergroup-multiple.hbs
index adb693a8fa..a32261c751 100644
--- a/app/components/new-learnergroup-multiple.hbs
+++ b/app/components/new-learnergroup-multiple.hbs
@@ -19,7 +19,7 @@
{{#if
(and
(v-get this "numSubGroups" "isInvalid")
- (contains "numSubGroups" showErrorsFor)
+ (includes "numSubGroups" showErrorsFor)
)
}}
diff --git a/app/components/new-learnergroup-single.hbs b/app/components/new-learnergroup-single.hbs
index 7856ddcf4a..69cd503f9e 100644
--- a/app/components/new-learnergroup-single.hbs
+++ b/app/components/new-learnergroup-single.hbs
@@ -11,7 +11,7 @@
placeholder={{t "general.learnerGroupTitlePlaceholder"}}
data-test-title
>
- {{#if (and (v-get this "title" "isInvalid") (contains "title" showErrorsFor))}}
+ {{#if (and (v-get this "title" "isInvalid") (includes "title" showErrorsFor))}}
{{v-get this "title" "message"}}
diff --git a/app/components/new-myreport.hbs b/app/components/new-myreport.hbs
index f82d31006d..70da2484f3 100644
--- a/app/components/new-myreport.hbs
+++ b/app/components/new-myreport.hbs
@@ -14,7 +14,7 @@
onkeyup={{action "addErrorDisplayFor" "title"}}
data-test-report-title
>
- {{#if (and (v-get this "title" "isInvalid") (contains "title" showErrorsFor))}}
+ {{#if (and (v-get this "title" "isInvalid") (includes "title" showErrorsFor))}}
{{v-get this "title" "message"}}
@@ -80,7 +80,7 @@
{{#if this.currentPrepositionalObject}}
- {{#if (contains this.currentPrepositionalObject (w "course session"))}}
+ {{#if (includes this.currentPrepositionalObject (w "course session"))}}
|
|
- {{#if (contains update this.updatesBeingSaved)}}
+ {{#if (includes update this.updatesBeingSaved)}}
{{else}}
{{#if (eq update.type "emailMismatch")}}
| |