mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 06:33:48 +00:00
fix modify column width (#7422)
* fix modify column width * fix warnings
This commit is contained in:
@@ -19,7 +19,7 @@ const AllTags = ({ updateCurrentPath, ...params }) => {
|
||||
|
||||
const tagsTableWrapperRef = useRef(null);
|
||||
|
||||
const { isLoading, isReloading, tagsData, store, context, currentPath } = useTags();
|
||||
const { isLoading, isReloading, tagsData, store, context, currentPath, modifyColumnWidth } = useTags();
|
||||
|
||||
const displayNodeKey = useRef('');
|
||||
|
||||
@@ -100,7 +100,7 @@ const AllTags = ({ updateCurrentPath, ...params }) => {
|
||||
<TagsTable
|
||||
context={context}
|
||||
tagsData={tagsData}
|
||||
modifyColumnWidth={store.modifyColumnWidth}
|
||||
modifyColumnWidth={modifyColumnWidth}
|
||||
setDisplayTag={onChangeDisplayTag}
|
||||
isLoadingMoreRecords={isLoadingMore}
|
||||
loadMore={loadMore}
|
||||
|
@@ -1,8 +1,6 @@
|
||||
import { MAP_TYPE } from '../constants';
|
||||
import { mediaUrl } from './constants';
|
||||
|
||||
const STATIC_RESOURCE_VERSION = 0.1;
|
||||
|
||||
export const initMapInfo = ({ baiduMapKey, googleMapKey, mineMapKey }) => {
|
||||
if (baiduMapKey) return { type: MAP_TYPE.B_MAP, key: baiduMapKey };
|
||||
if (googleMapKey) return { type: MAP_TYPE.G_MAP, key: googleMapKey };
|
||||
|
Reference in New Issue
Block a user