logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 5948d20f00a4b01bee143a617bea9ae40cb1243f
parent b3ed29ff02fa3db46a1ec7b5856f2c9131b8fa33
Author: Henry Jameson <me@hjkos.com>
Date:   Fri, 18 Mar 2022 13:36:08 +0200

mutes and blocks tab works

Diffstat:

Msrc/hocs/with_subscription/with_subscription.jsx11++++-------
1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/hocs/with_subscription/with_subscription.jsx b/src/hocs/with_subscription/with_subscription.jsx @@ -63,14 +63,11 @@ const withSubscription = ({ render () { if (!this.error && !this.loading) { const props = { - props: { - ...this.$props, - [childPropName]: this.fetchedData - }, - on: this.$listeners, - scopedSlots: this.$scopedSlots + ...this.$props, + [childPropName]: this.fetchedData + // on: this.$listeners // TODO } - const children = Object.entries(this.$slots).map(([key, value]) => h('template', { slot: key }, value)) + const children = this.$slots return ( <div class="with-subscription"> <WrappedComponent {...props}>