mutes and blocks tab works

This commit is contained in:
Henry Jameson 2022-03-18 13:36:08 +02:00
parent b3ed29ff02
commit 5948d20f00

View file

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