You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ra...@apache.org on 2021/09/17 15:40:36 UTC
[trafficcontrol] branch master updated: Fix grid comp issues (#6222)
This is an automated email from the ASF dual-hosted git repository.
rawlin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 4450f72 Fix grid comp issues (#6222)
4450f72 is described below
commit 4450f721814c4eb426edd2440e500c2bf25d24ac
Author: Steve Hamrick <sh...@users.noreply.github.com>
AuthorDate: Fri Sep 17 09:40:27 2021 -0600
Fix grid comp issues (#6222)
---
.../app/src/common/modules/table/agGrid/CommonGridController.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/traffic_portal/app/src/common/modules/table/agGrid/CommonGridController.js b/traffic_portal/app/src/common/modules/table/agGrid/CommonGridController.js
index 14b4fd6..f40390d 100644
--- a/traffic_portal/app/src/common/modules/table/agGrid/CommonGridController.js
+++ b/traffic_portal/app/src/common/modules/table/agGrid/CommonGridController.js
@@ -334,7 +334,7 @@ let CommonGridController = function ($scope, $document, $state, userModel, dateU
this.exportCSV = function() {
const params = {
allColumns: true,
- fileName: this.tablName + ".csv",
+ fileName: this.tableName + ".csv",
};
this.gridOptions.api.exportDataAsCsv(params);
};
@@ -346,7 +346,7 @@ let CommonGridController = function ($scope, $document, $state, userModel, dateU
this.onQuickSearchChanged = function() {
this.gridOptions.api.setQuickFilter(this.quickSearch);
- localStorage.setItem(this.title + "_quick_search", this.quickSearch);
+ localStorage.setItem(this.tableName + "_quick_search", this.quickSearch);
};
this.onPageSizeChanged = function() {