Skip to content

Commit

Permalink
Fix == to ===
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermendes committed May 29, 2018
1 parent 9c913e1 commit 6534e4b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pages/admin/project/new/_category_short_name.vue
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ export default {
isComboAvailable (template, volume) {
for (let builtItem of this.built_projects) {
if (
builtItem.template_id == template.id &&
builtItem.volume_id == volume.id
builtItem.template_id === template.id &&
builtItem.volume_id === volume.id
) {
return false
}
Expand All @@ -272,9 +272,9 @@ export default {
isParentAvailable (templateId) {
for (let builtItem of this.built_projects) {
if (
builtItem.template_id == templateId &&
builtItem.overall_progress == 100 &&
builtItem.empty_results == 0
builtItem.template_id === templateId &&
builtItem.overall_progress === 100 &&
builtItem.empty_results === 0
) {
return true
}
Expand Down

0 comments on commit 6534e4b

Please sign in to comment.