summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/roster-editor/src/Comm/UpdateRoster.elm | 9 | ||||
-rw-r--r-- | src/roster-editor/src/Update/SendRoster.elm | 10 |
2 files changed, 10 insertions, 9 deletions
diff --git a/src/roster-editor/src/Comm/UpdateRoster.elm b/src/roster-editor/src/Comm/UpdateRoster.elm index eabdd5e..8c1a960 100644 --- a/src/roster-editor/src/Comm/UpdateRoster.elm +++ b/src/roster-editor/src/Comm/UpdateRoster.elm @@ -35,10 +35,11 @@ try_encoding model = (Json.Encode.list (List.map (Struct.Character.encode) - (List.filter - (Struct.Character.get_was_edited) - (Array.toList model.characters) - ) + (Array.toList model.characters) + -- (List.filter + -- (Struct.Character.get_was_edited) + -- (Array.toList model.characters) + -- ) ) ) ) diff --git a/src/roster-editor/src/Update/SendRoster.elm b/src/roster-editor/src/Update/SendRoster.elm index b6f0510..9ab1c9f 100644 --- a/src/roster-editor/src/Update/SendRoster.elm +++ b/src/roster-editor/src/Update/SendRoster.elm @@ -21,11 +21,11 @@ apply_to : Struct.Model.Type -> (Struct.Model.Type, (Cmd Struct.Event.Type)) apply_to model = ( {model | - characters = - (Array.map - (Struct.Character.set_was_edited False) - model.characters - ) + characters = model.characters +-- (Array.map + -- (Struct.Character.set_was_edited False) + -- model.characters + -- ) }, (case (Comm.UpdateRoster.try model) of (Just cmd) -> cmd |