File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,13 +113,16 @@ export default function BucketDataTable(props) {
113113
114114 // active bucket has been changed
115115 useEffect ( ( ) => {
116+ // console.log(">> active bucket has been changed");
116117 setChangedBucket ( true ) ;
117118 setFiltering ( false ) ;
118119 const bucketViews = getBucketViews ( activeBucket , views ) ;
119120 if ( bucketViews . length > 0 && tags != null && enums != null && views != null && columns != null ) {
121+ // console.log(">> 1");
120122 const orderBy = getLastBucketOrder ( activeBucket . id ) ;
121-
123+ // console.log("lastBucketOrder: " + orderBy);
122124 if ( tableRef !== null && tableRef . current !== null ) {
125+ // console.log("lastBucketSearchText: " + searchText);
123126 tableRef . current . dataManager . changeSearchText ( searchText ) ;
124127 tableRef . current . dataManager . orderBy = - 1 ;
125128 tableRef . current . dataManager . orderDirection = "" ;
@@ -662,6 +665,9 @@ export default function BucketDataTable(props) {
662665 }
663666 } }
664667 onOrderChange = { ( colId , ord ) => {
668+ // console.log("onOrderChange: (colId, ord)");
669+ // console.log(colId);
670+ // console.log(ord);
665671 let order = ( colId >= 0 ) ? { colId, ord} : null ;
666672 setLastBucketOrder ( activeBucket . id , order ) ;
667673 } }
Original file line number Diff line number Diff line change @@ -236,14 +236,11 @@ export default function LoginPage() {
236236 return getProjectsPaper ( ) ;
237237 case 2 :
238238 const pathname = getPathname ( ) ;
239- console . log ( "pathname: " + pathname ) ;
240239 if ( pathname != null && pathname !== "null" ) {
241240 setPathname ( null ) ;
242- console . log ( "> 1: redirectTo: " + pathname ) ;
243241 return redirectTo ( pathname )
244242 } else {
245243 const pathname = getProjectDataPath ( ) ;
246- console . log ( "> 2: redirectTo: " + pathname ) ;
247244 return redirectTo ( pathname ) ;
248245 }
249246 case 1 :
Original file line number Diff line number Diff line change @@ -14,16 +14,9 @@ import {getContextPath} from "../utils/UrlBuilder";
1414
1515export default function AppRouter ( ) {
1616
17- const fullPathname = window . location . pathname ;
18- const pathname = fullPathname . replace ( getContextPath ( ) , "" ) ;
17+ // initial browser url without context path
18+ setPathname ( window . location . pathname . replace ( getContextPath ( ) , "" ) ) ;
1919
20- console . log ( "----save pathname -------------------------------------------" ) ;
21- console . log ( "contextPath: " + getContextPath ( ) ) ;
22- console . log ( "fullPathname: " + fullPathname ) ;
23- console . log ( "pathname: " + pathname ) ;
24- console . log ( "-------------------------------------------------------------" ) ;
25-
26- setPathname ( pathname ) ;
2720 return (
2821 < BrowserRouter
2922 basename = { getContextPath ( ) }
You can’t perform that action at this time.
0 commit comments