How to get the current opened workspace(s) in browser? #1330
Answered
by
erha19
mister-teddy
asked this question in
Q&A
-
|
In my component view I need to do this kind of logic: <div>
{openedWorkspace ? <><StartButton cwd={openedWorkspace} /><StopButton /></> : <NewProjectButton />}
</div>But I'm struggling to get the opening workspace (I'm using the |
Beta Was this translation helpful? Give feedback.
Answered by
erha19
Jul 12, 2022
Replies: 1 comment 1 reply
-
|
@nguyenhongphat0 maybe you can find the workspace path on the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mister-teddy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@nguyenhongphat0 maybe you can find the workspace path on the
window.metadata, or you can useIWorkspaceServicetoken getting the WorkspaceService, like the samples here use-service-by-di.