diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/diagnostics.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/diagnostics.go b/app/diagnostics.go index 34d7566fb..fa6ad6bd5 100644 --- a/app/diagnostics.go +++ b/app/diagnostics.go @@ -585,18 +585,18 @@ func (a *App) trackPlugins() { } if state, ok := pluginStates[plugin.Manifest.Id]; ok && state.Enable { totalEnabledCount += 1 - if plugin.Manifest.Backend != nil { + if plugin.Manifest.HasServer() { backendEnabledCount += 1 } - if plugin.Manifest.Webapp != nil { + if plugin.Manifest.HasWebapp() { webappEnabledCount += 1 } } else { totalDisabledCount += 1 - if plugin.Manifest.Backend != nil { + if plugin.Manifest.HasServer() { backendDisabledCount += 1 } - if plugin.Manifest.Webapp != nil { + if plugin.Manifest.HasWebapp() { webappDisabledCount += 1 } } |