mirror of https://github.com/jumpserver/jumpserver
perf: 默认展开编辑器所有目录
parent
3341d55d1b
commit
e3e727f972
|
@ -193,7 +193,7 @@ class PlaybookFileBrowserAPIView(APIView):
|
||||||
"id": os.path.join(relative_path, d) if not os.path.join(relative_path, d).startswith(
|
"id": os.path.join(relative_path, d) if not os.path.join(relative_path, d).startswith(
|
||||||
'.') else d,
|
'.') else d,
|
||||||
"isParent": True,
|
"isParent": True,
|
||||||
"open": False,
|
"open": True,
|
||||||
"pId": relative_path if not relative_path.startswith('.') else 'root',
|
"pId": relative_path if not relative_path.startswith('.') else 'root',
|
||||||
"temp": False
|
"temp": False
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue