mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 12:58:34 +00:00
refactor: location display
This commit is contained in:
@@ -13,6 +13,7 @@ import { gettext } from '../../../utils/constants';
|
||||
import { CellType, PREDEFINED_COLUMN_KEYS, PRIVATE_COLUMN_KEY } from '../../constants';
|
||||
import { getColumnOptions, getColumnOriginName } from '../../utils/column';
|
||||
import { SYSTEM_FOLDERS } from './constants';
|
||||
import Location from './location';
|
||||
|
||||
import './index.css';
|
||||
|
||||
@@ -120,6 +121,7 @@ const MetadataDetails = ({ repoID, filePath, repoInfo, direntType, updateRecord
|
||||
</DetailItem>
|
||||
);
|
||||
})}
|
||||
{isImage && (<Location position={getCellValueByColumn(record, { key: PRIVATE_COLUMN_KEY.LOCATION })} />)}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user