I have install the discourse-jitsi
but no option is available in the editor to add jitsi conference
There is an error:
[THEME 81 ‘Discourse Jitsi’] Compile error: SyntaxError: “/discourse/theme-81/discourse/components/modal/insert-jitsi: Identifier ‘themePrefix’ has already been declared. (11:7)\n\n 9 | import DModal from "discourse/components/d-modal";\n 10 | import TextField from "discourse/components/text-field";\n> 11 | import themePrefix from "discourse/helpers/theme-prefix";\n | ^\n 12 | import i18n from "discourse-common/helpers/i18n";\n 13 | export default class InsertJitsi extends Component {\n 14 | @tracked” (discourse/components/modal/insert-jitsi.gjs)
themePrefix
function is already available in a component context, and the error happens because the import tries to overwrite that. This is related to the latest PR #20.
EDIT: made a PR
As it’s an official theme component (especially one with a tag set up ) having a dedicated topic is . It saves me having to split topics off later.
Ah, great! Good to hear!
Thanks so much for the fix, @Arkshine, it is now merged.
Thanks @Arkshine, are we good to close this off?
This topic was automatically closed after 2 days. New replies are no longer allowed.