summaryrefslogtreecommitdiff
path: root/demo/components/moderation.js
diff options
context:
space:
mode:
authortheia2023-02-06 15:21:00 -0500
committertheia2023-02-06 15:21:00 -0500
commitff83e35a631036820aae6872e1547c715f3c89dc (patch)
tree7736d4268fb7e512afde715ba4972c1b32652fff /demo/components/moderation.js
parentc11da4dd7e082fd54562c3676dc27f4a0e8e3048 (diff)
assignment in one component leads to assignment in another...
Diffstat (limited to 'demo/components/moderation.js')
-rw-r--r--demo/components/moderation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/components/moderation.js b/demo/components/moderation.js
index 4cf8071..5e12fb0 100644
--- a/demo/components/moderation.js
+++ b/demo/components/moderation.js
@@ -51,7 +51,7 @@ export default {
<ul v-for="object in messageObjects(objects)">
<graffiti-objects :tags="[object._id]" v-slot="{objects: responses}">
- <li v-if="likeObjects(responses, object._id).filter(o=> o._by=admin).length">
+ <li v-if="likeObjects(responses, object._id).filter(o=> o._by==admin).length">
<em><Name :of="object._by"/></em>:
{{ object.message }}
</li>