[Maps] fix full screen (#29958)

This commit is contained in:
Nathan Reese 2019-02-04 09:22:07 -07:00 committed by GitHub
parent 1925ee9566
commit 4f42dde279
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -248,9 +248,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',