Skip to content

Commit 5b2baaf

Browse files
committed
fix: i18n error
--bug=1054232 --user=王孝刚 系统设置:操作菜单中的操作在中文模式下显示英文 https://www.tapd.cn/57709429/s/1679409
1 parent 739b977 commit 5b2baaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dataset/views/document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class Document(APIView):
136136
@has_permissions(
137137
lambda r, k: Permission(group=Group.DATASET, operate=Operate.MANAGE,
138138
dynamic_tag=k.get('dataset_id')))
139-
@log(menu='Knowledge Base/Document', operate="Create document",
139+
@log(menu='document', operate="Create document",
140140
get_operation_object=lambda r, keywords: get_dataset_document_operation_object(
141141
get_dataset_operation_object(keywords.get('dataset_id')),
142142
{'name': r.data.get('name')}))

0 commit comments

Comments
 (0)