logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 8a9115b58e020f750366e87bb4fd3483d6b62b03
parent b6e8c12dbcd7d9f4cf50e10bfd3c85fe691c2640
Author: Henry Jameson <me@hjkos.com>
Date:   Sun, 25 Apr 2021 14:51:15 +0300

temp fix for now-unused resettable async component

Diffstat:

Msrc/services/resettable_async_component.js5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/services/resettable_async_component.js b/src/services/resettable_async_component.js @@ -1,4 +1,5 @@ -import Vue from 'vue' +// TODO investigate if even necessary since VUE3 +import { reactive } from 'vue' /* By default async components don't have any way to recover, if component is * failed, it is failed forever. This helper tries to remedy that by recreating @@ -13,7 +14,7 @@ function getResettableAsyncComponent (asyncComponent, options) { ...options }) - const observe = Vue.observable({ c: asyncComponentFactory() }) + const observe = reactive({ c: asyncComponentFactory() }) return { functional: true,