Yuki Takei 6 лет назад
Родитель
Сommit
f0ebe44217

+ 2 - 2
packages/growi-plugin-attachment-refs/src/client/js/util/Interceptor/RefsPostRenderInterceptor.js

@@ -33,7 +33,7 @@ export default class RefsPostRenderInterceptor extends BasicInterceptor {
   /**
   /**
    * @inheritdoc
    * @inheritdoc
    */
    */
-  process(contextName, ...args) {
+  async process(contextName, ...args) {
     const context = Object.assign(args[0]); // clone
     const context = Object.assign(args[0]); // clone
 
 
     // forEach keys of tagContextMap
     // forEach keys of tagContextMap
@@ -53,7 +53,7 @@ export default class RefsPostRenderInterceptor extends BasicInterceptor {
       }
       }
     });
     });
 
 
-    return Promise.resolve();
+    return context;
   }
   }
 
 
   renderReactDom(refsContext, elem) {
   renderReactDom(refsContext, elem) {