aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/AdminContainer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/AdminContainer.tsx')
-rw-r--r--server/sonar-web/src/main/js/app/components/AdminContainer.tsx11
1 files changed, 6 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/app/components/AdminContainer.tsx b/server/sonar-web/src/main/js/app/components/AdminContainer.tsx
index 0b5bcc72ab9..edd745f472f 100644
--- a/server/sonar-web/src/main/js/app/components/AdminContainer.tsx
+++ b/server/sonar-web/src/main/js/app/components/AdminContainer.tsx
@@ -48,7 +48,7 @@ export class AdminContainer extends React.PureComponent<AdminContainerProps, Sta
state: State = {
pendingPlugins: defaultPendingPlugins,
systemStatus: defaultSystemStatus,
- adminPages: []
+ adminPages: [],
};
componentDidMount() {
@@ -68,14 +68,14 @@ export class AdminContainer extends React.PureComponent<AdminContainerProps, Sta
fetchNavigationSettings = () => {
getSettingsNavigation().then(
- r => this.setState({ adminPages: r.extensions }),
+ (r) => this.setState({ adminPages: r.extensions }),
() => {}
);
};
fetchPendingPlugins = () => {
getPendingPlugins().then(
- pendingPlugins => {
+ (pendingPlugins) => {
if (this.mounted) {
this.setState({ pendingPlugins });
}
@@ -138,8 +138,9 @@ export class AdminContainer extends React.PureComponent<AdminContainerProps, Sta
fetchSystemStatus: this.fetchSystemStatus,
fetchPendingPlugins: this.fetchPendingPlugins,
pendingPlugins,
- systemStatus
- }}>
+ systemStatus,
+ }}
+ >
<Outlet context={adminPagesContext} />
</AdminContext.Provider>
</div>