forked from AkkomaGang/akkoma-fe
mutes and blocks tab works
This commit is contained in:
parent
b3ed29ff02
commit
5948d20f00
1 changed files with 4 additions and 7 deletions
|
@ -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}>
|
||||||
|
|
Loading…
Reference in a new issue