enforce the content content-app in split view mode.

This commit is contained in:
Niels Lyngsø
2020-01-27 11:18:31 +01:00
parent 8efa973992
commit 9df2711d5e
@@ -155,6 +155,11 @@
* @param {any} selectedVariant
*/
function openSplitView(selectedVariant) {
// enforce content contentApp in splitview.
var contentApp = vm.content.apps.find((app) => app.alias === "umbContent");
if(contentApp) {
selectApp(contentApp);
}
insertVariantEditor(vm.editors.length, selectedVariant);