mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +00:00
update view type change tips (#7513)
Co-authored-by: zhouwenxuan <aries@Mac.local>
This commit is contained in:
@@ -77,8 +77,7 @@ const ViewItem = ({
|
|||||||
const convertableViews = Object.values(VIEW_TYPE).filter(type => type !== viewType && type !== VIEW_TYPE.FACE_RECOGNITION);
|
const convertableViews = Object.values(VIEW_TYPE).filter(type => type !== viewType && type !== VIEW_TYPE.FACE_RECOGNITION);
|
||||||
value.push({
|
value.push({
|
||||||
key: 'turn',
|
key: 'turn',
|
||||||
value: gettext('Turn into'),
|
value: gettext('Change view type'),
|
||||||
subOpListHeader: gettext('Other view'),
|
|
||||||
subOpList: convertableViews.map((type) => {
|
subOpList: convertableViews.map((type) => {
|
||||||
return {
|
return {
|
||||||
key: `${TURN_VIEW_INTO_PREFIX}${type}`,
|
key: `${TURN_VIEW_INTO_PREFIX}${type}`,
|
||||||
|
Reference in New Issue
Block a user