X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Shares%2FmTaskShare.icl;h=ee6282b775eb5803d4dc803235dd72ccbadb6dc5;hb=a2df77cbda43d5a24eeb8ac7db7452baae9f18aa;hp=7ae47e195b4578bccb4473ca838309f1e7e6f985;hpb=14589b218e5796e4a85f2a73b440a25848ebe747;p=mTask.git diff --git a/Shares/mTaskShare.icl b/Shares/mTaskShare.icl index 7ae47e1..ee6282b 100644 --- a/Shares/mTaskShare.icl +++ b/Shares/mTaskShare.icl @@ -24,7 +24,7 @@ updateS sh = flip (<<@) (Title $ toString sh.identifier) $ forever $ viewSharedInformation "Current value" [] (getSDSShare sh) ||- ( updateSharedInformation "New value" [] (getSDSShare sh) - >>= \nv->allTasks (map getDevice sh.withDevice) + >>= \nv->allTasks (map (withDevice treturn) sh.withDevice) >>= \devs->allTasks (map (sendMessages [MTUpd sh.identifier nv]) devs) >>| treturn nv )