diff --git a/front/src/actions/dashboard/index.js b/front/src/actions/dashboard/index.js
new file mode 100644
index 0000000000..2fdf088da1
--- /dev/null
+++ b/front/src/actions/dashboard/index.js
@@ -0,0 +1,12 @@
+function createActions(store) {
+ const actions = {
+ setFullScreen(state, fullScreen) {
+ store.setState({
+ fullScreen
+ });
+ }
+ };
+ return actions;
+}
+
+export default createActions;
diff --git a/front/src/routes/dashboard/DashboardPage.jsx b/front/src/routes/dashboard/DashboardPage.jsx
index 71a096f5c5..4089c5c49c 100644
--- a/front/src/routes/dashboard/DashboardPage.jsx
+++ b/front/src/routes/dashboard/DashboardPage.jsx
@@ -41,17 +41,19 @@ const DashboardPage = ({ children, ...props }) => (
- {!props.dashboardNotConfigured && props.browserFullScreenCompatible && (
-
- )}
- {props.currentDashboard && (
+ {!props.dashboardNotConfigured &&
+ props.browserFullScreenCompatible &&
+ !props.hideExitFullScreenButton && (
+
+ )}
+ {props.currentDashboard && !props.hideExitFullScreenButton && (