1
0
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:
Michael An
2025-01-23 17:44:03 +08:00
committed by GitHub
parent 0e11cdf7b9
commit bddd73411e
2 changed files with 2 additions and 4 deletions

View File

@@ -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}

View File

@@ -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 };