diff options
Diffstat (limited to 'src/featureClass/featureManager.js')
-rw-r--r-- | src/featureClass/featureManager.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/featureClass/featureManager.js b/src/featureClass/featureManager.js index 30e7525..6974f46 100644 --- a/src/featureClass/featureManager.js +++ b/src/featureClass/featureManager.js @@ -182,11 +182,12 @@ class FeatureManager { this.registerCommand("soopysetlongeventtime", (args) => { this.longEventTime = parseInt(args) }, this) - this.registerCommand("soopylaginformation", (args) => { - this.loadPerformanceData() - }, this) - this.registerCommand("soopylaginformationfast", (args) => { - this.loadPerformanceDataFast() + this.registerCommand("soopylaginformation", (full) => { + if (full === "full") { + this.loadPerformanceData() + } else { + this.loadPerformanceDataFast() + } }, this) } |