mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-09 11:34:24 +08:00
Fix poem inactivity checking
This commit is contained in:
@@ -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