rdesktop2
filip mertens 1 year ago
parent 3e610699cc
commit 962395926e
  1. 3
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -108,9 +108,11 @@ export function Workspace() {
// expose some UI to the plugin, perhaps not the best way to do it
if (global.plugin) {
global.plugin.loadTemplate = async () => {
await global.plugin.call('menuicons', 'select', 'filePanel')
createWorkspace()
}
global.plugin.clone = async () => {
await global.plugin.call('menuicons', 'select', 'filePanel')
cloneGitRepository()
}
}
@ -202,6 +204,7 @@ export function Workspace() {
const cloneGitRepository = () => {
console.log('clone from workspace modal')
global.modal(
intl.formatMessage({ id: 'filePanel.workspace.clone' }),
cloneModalMessage(),

Loading…
Cancel
Save