mirror of
https://github.com/wassname/side-by-side.git
synced 2026-10-29 13:41:25 +08:00
Fix poem inactivity checking
This commit is contained in:
1 parent
e498ef0ff9
commit
e0a45f08a5
2 files changed
+6
-2
No files matched your search
@@ -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)
|
||||
|
||||
@
|
||||
Reference in new issue
Block a user