The following code block works for Board View features but not Workspace View features
monday.get("context").then((res) => {
doSomething();
});
The use case for this is a Workspace View that changes theme dynamically when dark mode is selected. If I implement this as a Board View it works because the listener gets called when the user changes the theme. The listener does not get called on the Workspace View feature.