diff --git a/webapp/portlet/src/main/webapp/WEB-INF/jsp/portlet/gettingStarted.jsp b/webapp/portlet/src/main/webapp/WEB-INF/jsp/portlet/gettingStarted.jsp
index 9e593180e28..08afb05266f 100644
--- a/webapp/portlet/src/main/webapp/WEB-INF/jsp/portlet/gettingStarted.jsp
+++ b/webapp/portlet/src/main/webapp/WEB-INF/jsp/portlet/gettingStarted.jsp
@@ -25,7 +25,7 @@
}
%>
-
+
diff --git a/webapp/portlet/src/main/webapp/vue-apps/getting-started/main.js b/webapp/portlet/src/main/webapp/vue-apps/getting-started/main.js
index 35f9625b4d4..645bc9e5b6c 100644
--- a/webapp/portlet/src/main/webapp/vue-apps/getting-started/main.js
+++ b/webapp/portlet/src/main/webapp/vue-apps/getting-started/main.js
@@ -17,9 +17,8 @@ if (parentAppElement) {
hideGettingStarted().then(() => parentElementToHide.classList.add('hidden'));
});
};
-} else {
- const parentElementToHide = document.querySelector('#GettingStartedPortlet');
- if (parentElementToHide) {
- parentElementToHide.closest('.PORTLET-FRAGMENT').classList.add('hidden');
- }
+}
+const parentElementToHide = document.querySelector('#GettingStartedPortlet');
+if (parentElementToHide && parentElementToHide.dataset.canClose === 'true') {
+ parentElementToHide.closest('.PORTLET-FRAGMENT').classList.add('hidden');
}