- {!loading &&
- t(
- '%s-%s of %s',
- pageSize * pageIndex + (rows.length && 1),
- pageSize * pageIndex + rows.length,
- count,
- )}
+ {rows.length > 0 && (
+
+
gotoPage(p - 1)}
+ hideFirstAndLastPageLinks
+ />
+
+ {!loading &&
+ t(
+ '%s-%s of %s',
+ pageSize * pageIndex + (rows.length && 1),
+ pageSize * pageIndex + rows.length,
+ count,
+ )}
+
-
+ )}
);
}
diff --git a/superset-frontend/src/views/App.tsx b/superset-frontend/src/views/App.tsx
index 7f22c1cbb4..103db080a3 100644
--- a/superset-frontend/src/views/App.tsx
+++ b/superset-frontend/src/views/App.tsx
@@ -34,6 +34,7 @@ import DatasetList from 'src/views/CRUD/data/dataset/DatasetList';
import DatabaseList from 'src/views/CRUD/data/database/DatabaseList';
import SavedQueryList from 'src/views/CRUD/data/savedquery/SavedQueryList';
import CssTemplatesList from 'src/views/CRUD/csstemplates/CssTemplatesList';
+import AnnotationLayersList from 'src/views/CRUD/annotationlayers/AnnotationLayersList';
import AnnotationList from 'src/views/CRUD/annotation/AnnotationList';
import messageToastReducer from '../messageToasts/reducers';
@@ -104,6 +105,11 @@ const App = () => (