From 486de89b002b996e2fc8e0538eb7e25df2d18541 Mon Sep 17 00:00:00 2001 From: theia Date: Fri, 3 Feb 2023 16:12:20 -0500 Subject: Added moderation --- demo/components/moderation.js | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/demo/components/moderation.js b/demo/components/moderation.js index 8ba4e98..1a2b0fd 100644 --- a/demo/components/moderation.js +++ b/demo/components/moderation.js @@ -1,11 +1,13 @@ import Chat from './chat.js' import LikeButton from './like-button.js' +import { Name } from './name.js' export default { data: ()=> ({ likeThreshold: 0, - channel: 'demo' + channel: 'demo', + admin: null }), methods: { @@ -18,11 +20,12 @@ export default { Chat Channel:

-

- Only show me objects with more than likes. -

- + +

+ Only show me objects with more than likes. +

+ + +

+ Only show me objects that + + has liked. +

+ + +
` } -- cgit v1.2.3-70-g09d2