fix: spin size
This commit is contained in:
@@ -142,7 +142,10 @@ const APIKeys: React.FC = () => {
|
|||||||
columns={columns}
|
columns={columns}
|
||||||
dataSource={dataSource.dataList}
|
dataSource={dataSource.dataList}
|
||||||
rowSelection={rowSelection}
|
rowSelection={rowSelection}
|
||||||
loading={dataSource.loading}
|
loading={{
|
||||||
|
spinning: dataSource.loading,
|
||||||
|
size: 'middle'
|
||||||
|
}}
|
||||||
sortDirections={TABLE_SORT_DIRECTIONS}
|
sortDirections={TABLE_SORT_DIRECTIONS}
|
||||||
showSorterTooltip={false}
|
showSorterTooltip={false}
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
|
|||||||
@@ -245,7 +245,10 @@ const Benchmark: React.FC = () => {
|
|||||||
className={'scroll-table'}
|
className={'scroll-table'}
|
||||||
dataSource={dataSource.dataList}
|
dataSource={dataSource.dataList}
|
||||||
rowSelection={rowSelection}
|
rowSelection={rowSelection}
|
||||||
loading={dataSource.loading}
|
loading={{
|
||||||
|
spinning: dataSource.loading,
|
||||||
|
size: 'middle'
|
||||||
|
}}
|
||||||
sortDirections={TABLE_SORT_DIRECTIONS}
|
sortDirections={TABLE_SORT_DIRECTIONS}
|
||||||
showSorterTooltip={false}
|
showSorterTooltip={false}
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
|
|||||||
@@ -206,7 +206,10 @@ const Credentials: React.FC = () => {
|
|||||||
columns={columns}
|
columns={columns}
|
||||||
dataSource={dataSource.dataList}
|
dataSource={dataSource.dataList}
|
||||||
rowSelection={rowSelection}
|
rowSelection={rowSelection}
|
||||||
loading={dataSource.loading}
|
loading={{
|
||||||
|
spinning: dataSource.loading,
|
||||||
|
size: 'middle'
|
||||||
|
}}
|
||||||
sortDirections={TABLE_SORT_DIRECTIONS}
|
sortDirections={TABLE_SORT_DIRECTIONS}
|
||||||
showSorterTooltip={false}
|
showSorterTooltip={false}
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
|
|||||||
@@ -166,7 +166,10 @@ const MaasProvider: React.FC = () => {
|
|||||||
sortDirections={TABLE_SORT_DIRECTIONS}
|
sortDirections={TABLE_SORT_DIRECTIONS}
|
||||||
showSorterTooltip={false}
|
showSorterTooltip={false}
|
||||||
dataSource={dataSource.dataList}
|
dataSource={dataSource.dataList}
|
||||||
loading={dataSource.loading}
|
loading={{
|
||||||
|
spinning: dataSource.loading,
|
||||||
|
size: 'middle'
|
||||||
|
}}
|
||||||
rowSelection={rowSelection}
|
rowSelection={rowSelection}
|
||||||
columns={columns}
|
columns={columns}
|
||||||
scroll={{ x: 900 }}
|
scroll={{ x: 900 }}
|
||||||
|
|||||||
@@ -111,7 +111,10 @@ const GPUList = () => {
|
|||||||
showSorterTooltip={false}
|
showSorterTooltip={false}
|
||||||
tableLayout={'auto'}
|
tableLayout={'auto'}
|
||||||
dataSource={dataSource.dataList}
|
dataSource={dataSource.dataList}
|
||||||
loading={dataSource.loading}
|
loading={{
|
||||||
|
spinning: dataSource.loading,
|
||||||
|
size: 'middle'
|
||||||
|
}}
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
scroll={{ x: 900 }}
|
scroll={{ x: 900 }}
|
||||||
onChange={handleTableChange}
|
onChange={handleTableChange}
|
||||||
|
|||||||
@@ -325,7 +325,10 @@ const ModelFiles = () => {
|
|||||||
}}
|
}}
|
||||||
onChange={handleTableChange}
|
onChange={handleTableChange}
|
||||||
dataSource={dataSource.dataList}
|
dataSource={dataSource.dataList}
|
||||||
loading={dataSource.loading}
|
loading={{
|
||||||
|
spinning: dataSource.loading,
|
||||||
|
size: 'middle'
|
||||||
|
}}
|
||||||
rowSelection={rowSelection}
|
rowSelection={rowSelection}
|
||||||
columns={columns}
|
columns={columns}
|
||||||
pagination={{
|
pagination={{
|
||||||
|
|||||||
@@ -280,7 +280,10 @@ const Workers = () => {
|
|||||||
showSorterTooltip={false}
|
showSorterTooltip={false}
|
||||||
tableLayout={'auto'}
|
tableLayout={'auto'}
|
||||||
dataSource={dataSource.dataList}
|
dataSource={dataSource.dataList}
|
||||||
loading={dataSource.loading}
|
loading={{
|
||||||
|
spinning: dataSource.loading,
|
||||||
|
size: 'middle'
|
||||||
|
}}
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
scroll={{ x: 900 }}
|
scroll={{ x: 900 }}
|
||||||
onChange={handleTableChange}
|
onChange={handleTableChange}
|
||||||
|
|||||||
@@ -190,7 +190,10 @@ const Users: React.FC = () => {
|
|||||||
columns={columns}
|
columns={columns}
|
||||||
dataSource={dataList}
|
dataSource={dataList}
|
||||||
rowSelection={rowSelection}
|
rowSelection={rowSelection}
|
||||||
loading={dataSource.loading}
|
loading={{
|
||||||
|
spinning: dataSource.loading,
|
||||||
|
size: 'middle'
|
||||||
|
}}
|
||||||
sortDirections={TABLE_SORT_DIRECTIONS}
|
sortDirections={TABLE_SORT_DIRECTIONS}
|
||||||
showSorterTooltip={false}
|
showSorterTooltip={false}
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
|
|||||||
Reference in New Issue
Block a user