11// Libraries
22import React , { PureComponent } from 'react'
33import { connect , ConnectedProps } from 'react-redux'
4- import { Switch , Route } from 'react-router-dom'
4+ import { Route , RouteComponentProps , Switch } from 'react-router-dom'
55
66// Components
77import TasksHeader from 'src/tasks/components/TasksHeader'
88import TasksList from 'src/tasks/components/TasksList'
9- import { Page } from '@influxdata/clockface'
9+ import { ComponentSize , Page , Sort } from '@influxdata/clockface'
1010import { ErrorHandling } from 'src/shared/decorators/errors'
1111import FilterList from 'src/shared/components/FilterList'
1212import GetResources from 'src/resources/components/GetResources'
@@ -20,12 +20,12 @@ import {isFlagEnabled} from 'src/shared/utils/featureFlag'
2020
2121// Actions
2222import {
23- updateTaskStatus ,
24- updateTaskName ,
25- deleteTask ,
26- cloneTask ,
2723 addTaskLabel ,
24+ cloneTask ,
25+ deleteTask ,
2826 runTask ,
27+ updateTaskName ,
28+ updateTaskStatus ,
2929} from 'src/tasks/actions/thunks'
3030
3131import {
@@ -36,9 +36,7 @@ import {
3636import { checkTaskLimits as checkTasksLimitsAction } from 'src/cloud/actions/limits'
3737
3838// Types
39- import { AppState , Task , ResourceType } from 'src/types'
40- import { RouteComponentProps } from 'react-router-dom'
41- import { Sort } from '@influxdata/clockface'
39+ import { AppState , ResourceType , Task } from 'src/types'
4240import { SortTypes } from 'src/shared/utils/sort'
4341import { extractTaskLimits } from 'src/cloud/utils/limits'
4442import { TaskSortKey } from 'src/shared/components/resource_sort_dropdown/generateSortItems'
@@ -105,7 +103,12 @@ class TasksPage extends PureComponent<Props, State> {
105103 sortType = { sortType }
106104 onSort = { this . handleSort }
107105 />
108- < Page . Contents fullWidth = { false } scrollable = { true } >
106+ < Page . Contents
107+ fullWidth = { false }
108+ scrollable = { true }
109+ scrollbarSize = { ComponentSize . Large }
110+ autoHideScrollbar = { true }
111+ >
109112 < GetResources resources = { [ ResourceType . Tasks , ResourceType . Labels ] } >
110113 < GetAssetLimits >
111114 < Filter
0 commit comments