mirror of
https://github.com/strapi/strapi.git
synced 2026-01-06 12:13:52 +00:00
Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com> Signed-off-by: Bart Duisters <bartduisters@bartduisters.com>
This commit is contained in:
parent
90ebce4243
commit
821148d4e4
@ -124,12 +124,19 @@ export class Admin extends React.Component {
|
||||
render() {
|
||||
const {
|
||||
global: {
|
||||
autoReload,
|
||||
blockApp,
|
||||
currentEnvironment,
|
||||
overlayBlockerData,
|
||||
plugins,
|
||||
showGlobalAppBlocker,
|
||||
strapiVersion,
|
||||
},
|
||||
disableGlobalOverlayBlocker,
|
||||
emitEvent,
|
||||
enableGlobalOverlayBlocker,
|
||||
intl: { formatMessage },
|
||||
updatePlugin,
|
||||
} = this.props;
|
||||
|
||||
// We need the admin data in order to make the initializers work
|
||||
@ -144,14 +151,14 @@ export class Admin extends React.Component {
|
||||
|
||||
return (
|
||||
<GlobalContextProvider
|
||||
autoReload={this.props.global.autoReload}
|
||||
emitEvent={this.props.emitEvent}
|
||||
currentEnvironment={this.props.global.currentEnvironment}
|
||||
disableGlobalOverlayBlocker={this.props.disableGlobalOverlayBlocker}
|
||||
enableGlobalOverlayBlocker={this.props.enableGlobalOverlayBlocker}
|
||||
formatMessage={this.props.intl.formatMessage}
|
||||
plugins={this.props.global.plugins}
|
||||
updatePlugin={this.props.updatePlugin}
|
||||
autoReload={autoReload}
|
||||
emitEvent={emitEvent}
|
||||
currentEnvironment={currentEnvironment}
|
||||
disableGlobalOverlayBlocker={disableGlobalOverlayBlocker}
|
||||
enableGlobalOverlayBlocker={enableGlobalOverlayBlocker}
|
||||
formatMessage={formatMessage}
|
||||
plugins={plugins}
|
||||
updatePlugin={updatePlugin}
|
||||
>
|
||||
<Wrapper>
|
||||
<LeftMenu version={strapiVersion} plugins={plugins} />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user