Skip to content

Commit

Permalink
Removing the new Analytics tab from LoggerConsole
Browse files Browse the repository at this point in the history
The docs say its GA, and the metadata installs in my test orgs, but some test orgs don't have the tab at all, and I don't want to risk an upgrade issue
  • Loading branch information
jongpie committed Jun 20, 2023
1 parent f1d7401 commit 8b6356e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<tabs>LogEntry__c</tabs>
<tabs>LogEntryTag__c</tabs>
<tabs>LoggerTag__c</tabs>
<tabs>standard-WaveHomeLightning</tabs>
<tabs>standard-report</tabs>
<tabs>standard-Dashboard</tabs>
<uiType>Lightning</uiType>
Expand All @@ -52,9 +51,6 @@
<mappings>
<tab>standard-Dashboard</tab>
</mappings>
<mappings>
<tab>standard-WaveHomeLightning</tab>
</mappings>
<mappings>
<tab>standard-home</tab>
</mappings>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ public without sharing class LoggerHomeHeaderController {
}

private static void setPluginDetails(Environment environment) {
List<LoggerPlugin__mdt> enabledplugins = LoggerPlugin.getPluginConfigurations();
environment.loggerEnabledPluginsCount = enabledplugins.size();
List<LoggerPlugin__mdt> enabledPlugins = LoggerPlugin.getPluginConfigurations();
environment.loggerEnabledPluginsCount = enabledPlugins.size();
if (environment.loggerEnabledPluginsCount == 0) {
environment.loggerEnabledPlugins = null;
return;
}

List<String> pluginLabels = new List<String>();
for (LoggerPlugin__mdt plugin : enabledplugins) {
for (LoggerPlugin__mdt plugin : enabledPlugins) {
pluginLabels.add(plugin.Label);
}
pluginLabels.sort();
Expand Down

0 comments on commit 8b6356e

Please sign in to comment.