Bug in confluence-content-action template?

Johannes Hausmann February 17, 2022

When creating an using forge create, choosing confluence-content-action as template, deploy and install works just fine.

However, when invoking the action - after a window successfully opens and displays "hello world!", the close button next to it doesn't work.

If I add "view" to the import statement in .../static/hello-world/src/App.js like so:

import { invoke,view } from '@forge/bridge';

the Close button works.

Am I missing something here or is the above correct?

Cheers,

Joe

 

1 answer

0 votes
Rodney Schuler (gmail) October 24, 2022

I haven't seen a response to your post but I found the same thing and just including view fixed it.  Seems like it is just a problem with the template not including the correct import of view.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events