File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
extensions/ql-vscode/src/view Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -112,14 +112,6 @@ export class ResultTables
112112 return this . props . parsedResultSets . t === 'ExtensionParsed' ;
113113 }
114114
115- /**
116- * Holds if we actually should show pagination interface right now. This is
117- * true as long as the result sets we're given are marked to permit it.
118- */
119- paginationEnabled ( ) : boolean {
120- return this . paginationAllowed ( ) ;
121- }
122-
123115 constructor ( props : ResultTablesProps ) {
124116 super ( props ) ;
125117 this . state = ResultTables . getDerivedStateFromProps ( props ) ;
@@ -232,7 +224,7 @@ export class ResultTables
232224 }
233225
234226 renderButtons ( ) : JSX . Element {
235- if ( this . props . parsedResultSets . t === 'ExtensionParsed' && this . paginationEnabled ( ) )
227+ if ( this . props . parsedResultSets . t === 'ExtensionParsed' && this . paginationAllowed ( ) )
236228 return this . renderPageButtons ( this . props . parsedResultSets ) ;
237229 else
238230 return < span /> ;
You can’t perform that action at this time.
0 commit comments