git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit d9a31d30b2d44ee31f7bbc60157a051ac876ea17

Only edit your own tags

Josiah Witt committed on 3/15/2018, 2:38:25 AM
Parent: eb76949a470f7002f8d33f6775cfd24be721f727

Files changed

modules/sheet/editTags.jschanged
modules/sheet/editTags.jsView
@@ -22,9 +22,9 @@
2222 'html': {
2323 'tag': 'first'
2424 },
2525 'obs': {
26- 'messageTags': 'first',
26 + 'messageTagsFrom': 'first',
2727 'allTags': 'first'
2828 }
2929 }
3030 })
@@ -41,9 +41,9 @@
4141 const tagsInput = Value('')
4242
4343 const myId = api.keys.sync.id()
4444 const messageTags = map(
45- api.tag.obs.messageTags(msgId),
45 + api.tag.obs.messageTagsFrom(msgId, myId),
4646 tagId => Struct({
4747 tagId: Value(tagId),
4848 tagName: api.about.obs.name(tagId)
4949 })

Built with git-ssb-web