make todo comments clear
This commit is contained in:
parent
dda1a065f3
commit
40488b74f2
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ class MapChannel < ApplicationCable::Channel
|
|||
# Called when the consumer has successfully
|
||||
# become a subscriber of this channel.
|
||||
def subscribed
|
||||
# verify permission
|
||||
# TODO: verify permission
|
||||
stream_from "map_#{params[:id]}"
|
||||
end
|
||||
end
|
|
@ -87,7 +87,7 @@ const Cable = {
|
|||
}
|
||||
},
|
||||
synapseUpdated: event => {
|
||||
// handle case where permission changed
|
||||
// TODO: handle case where permission changed
|
||||
var synapse = DataModel.Synapses.get(event.id)
|
||||
if (synapse) {
|
||||
// edge reset necessary because fetch causes model reset
|
||||
|
@ -169,7 +169,7 @@ const Cable = {
|
|||
}
|
||||
},
|
||||
topicUpdated: event => {
|
||||
// handle case where permission changed
|
||||
// TODO: handle case where permission changed
|
||||
var topic = DataModel.Topics.get(event.id)
|
||||
if (topic) {
|
||||
var node = topic.get('node')
|
||||
|
|
Loading…
Add table
Reference in a new issue