summaryrefslogtreecommitdiff
path: root/demo/components/chat.js
diff options
context:
space:
mode:
Diffstat (limited to 'demo/components/chat.js')
-rw-r--r--demo/components/chat.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/components/chat.js b/demo/components/chat.js
index bffde26..5095dcd 100644
--- a/demo/components/chat.js
+++ b/demo/components/chat.js
@@ -45,11 +45,11 @@ export default {
<Comments :messageID="object._id" />
<template v-if="object._by==$graffitiMyID">
- <button @click="object.message+='!!';object._update()">
+ <button @click="object.message+='!!'">
‼️
</button>
- <button @click="object._remove()">
+ <button @click="delete object._key">
</button>
</template>