mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 10:50:24 +00:00
Feature/add map view (#7034)
* add map * use custom baidu js * use custom baidu plugin * optimize user location * optimize code * show tips when request user location failed * optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code --------- Co-authored-by: zhouwenxuan <aries@Mac.local> Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
@@ -19,6 +19,10 @@ const VIEW_OPTIONS = [
|
||||
{
|
||||
key: 'kanban',
|
||||
type: VIEW_TYPE.KANBAN,
|
||||
},
|
||||
{
|
||||
key: 'map',
|
||||
type: VIEW_TYPE.MAP,
|
||||
}
|
||||
];
|
||||
|
||||
@@ -49,6 +53,8 @@ const AddView = ({ target, toggle, onOptionClick }) => {
|
||||
return gettext('Gallery');
|
||||
case VIEW_TYPE.KANBAN:
|
||||
return gettext('Kanban');
|
||||
case VIEW_TYPE.MAP:
|
||||
return gettext('Map');
|
||||
default:
|
||||
return type;
|
||||
}
|
||||
|
Reference in New Issue
Block a user