[Maps] fix full screen (#29958) (#29962)

This commit is contained in:
Nathan Reese 2019-02-04 11:12:18 -07:00 committed by GitHub
parent fe9748583e
commit 082dfccd76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -260,9 +260,7 @@ app.controller('GisMapController', ($scope, $route, config, kbnUrl, localStorage
description: 'Full screen',
testId: 'fullScreenMode',
run() {
getStore().then(store => {
store.dispatch(enableFullScreen());
});
getStore().dispatch(enableFullScreen());
}
}, {
key: 'inspect',