You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by zr...@apache.org on 2021/09/21 22:08:55 UTC

[trafficcontrol] 04/09: Fix grid comp issues (#6222)

This is an automated email from the ASF dual-hosted git repository.

zrhoffman pushed a commit to branch 6.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 3c1aaa45adaf7d816cbf0edfca2f236f2747a286
Author: Steve Hamrick <sh...@users.noreply.github.com>
AuthorDate: Fri Sep 17 09:40:27 2021 -0600

    Fix grid comp issues (#6222)
    
    (cherry picked from commit 4450f721814c4eb426edd2440e500c2bf25d24ac)
---
 .../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() {