Fix poem inactivity checking

This commit is contained in:
Vit Brunner
2014-12-21 22:25:39 +01:00
parent e498ef0ff9
commit e0a45f08a5
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -15,12 +15,12 @@ angular.module("sideBySide").service "poems", () ->
#
# @return [Array] Active poems
@getActive = () ->
(poem for poem in @all when poem.meta.Active is true)
(poem for poem in @all when poem.meta.Active == true)
# Get inactive poems
#
# @return [Array] Inactive poems
@getInactive = () ->
(poem for poem in @all when poem.meta.Active is not true)
(poem for poem in @all when poem.meta.Active != true)
@