feat(breadcrumb): build breadcrumb in 1 API call
add /api/folders/{id}/ancestors
this API to iterate parent up to the drive root or the shared folder
this will help UI to build the breadcrumb in 1 API call
and to identify the root element (is it a drive users has access to or
a shared folder ?)
ui: now only 1 API call is now required to build the breadcrumb
This commit is contained in:
@@ -459,7 +459,14 @@
|
||||
"group_name_taken": "已存在同名群組。"
|
||||
},
|
||||
"breadcrumb": {
|
||||
"home": "主頁"
|
||||
"home": "主頁",
|
||||
"aria": "導覽路徑",
|
||||
"root": {
|
||||
"personal_drive": "個人雲端硬碟:{{name}}",
|
||||
"shared_drive": "共用雲端硬碟:{{name}}",
|
||||
"direct_share": "已分享給您",
|
||||
"token": "透過分享連結"
|
||||
}
|
||||
},
|
||||
"trash": {
|
||||
"empty_trash": "清空回收站",
|
||||
|
||||
Reference in New Issue
Block a user