1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 12:58:34 +00:00

update sdoc-editor version

This commit is contained in:
小强
2025-09-15 14:09:10 +08:00
parent 42721396d1
commit 122c83b725
3 changed files with 10 additions and 10 deletions

View File

@@ -20,7 +20,7 @@
"@seafile/resumablejs": "1.1.16",
"@seafile/seafile-calendar": "0.1.1",
"@seafile/seafile-editor": "2.0.33",
"@seafile/seafile-sdoc-editor": "2.0.87",
"@seafile/seafile-sdoc-editor": "2.0.88",
"@seafile/stldraw-editor": "1.0.1",
"@uiw/codemirror-extensions-langs": "^4.19.4",
"@uiw/codemirror-themes": "^4.23.5",
@@ -5658,9 +5658,9 @@
"license": "MIT"
},
"node_modules/@seafile/sdoc-editor": {
"version": "2.0.170",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-2.0.170.tgz",
"integrity": "sha512-AU6ZU1/l2i0PNd5PrWghdRSk20RdzhLwXkrDFdxQj0vCtBZcerTEMpB1YWUz0RKgT6W183gtK3yU/jP6mi2Ccg==",
"version": "2.0.171",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-2.0.171.tgz",
"integrity": "sha512-XDUY42Ap23EpBdRCeAyhi+ORt7v6juNgu6iTmQ5M2DfL+LfFL5eyczvEPlx5Z1bmawx6Obwi/xyg1HseRbvgaA==",
"license": "ISC",
"dependencies": {
"@seafile/comment-editor": "0.0.14",
@@ -5926,13 +5926,13 @@
}
},
"node_modules/@seafile/seafile-sdoc-editor": {
"version": "2.0.87",
"resolved": "https://registry.npmjs.org/@seafile/seafile-sdoc-editor/-/seafile-sdoc-editor-2.0.87.tgz",
"integrity": "sha512-kQkBIGRy8osP1A8RgcS3eRe8ZZiZkgcCqLF+f5EGjzkyOTVzn36dHnUI35IGvnbaX43VRpEob/ExYwcgQ7m7cg==",
"version": "2.0.88",
"resolved": "https://registry.npmjs.org/@seafile/seafile-sdoc-editor/-/seafile-sdoc-editor-2.0.88.tgz",
"integrity": "sha512-DoAtiZZOXPy8yTt+L+awOtmNc6He9bxd/kyrTXeS2TomQ9/8yHcFHcqv7MsnXDPxk1u41Dy1BLtMSTSEUM7oHA==",
"license": "ISC",
"dependencies": {
"@seafile/print-js": "1.6.6",
"@seafile/sdoc-editor": "^2.0.170",
"@seafile/sdoc-editor": "^2.0.171",
"classnames": "2.3.2",
"dayjs": "1.10.7"
},

View File

@@ -15,7 +15,7 @@
"@seafile/resumablejs": "1.1.16",
"@seafile/seafile-calendar": "0.1.1",
"@seafile/seafile-editor": "2.0.33",
"@seafile/seafile-sdoc-editor": "2.0.87",
"@seafile/seafile-sdoc-editor": "2.0.88",
"@seafile/stldraw-editor": "1.0.1",
"@uiw/codemirror-extensions-langs": "^4.19.4",
"@uiw/codemirror-themes": "^4.23.5",

View File

@@ -2109,7 +2109,7 @@ def view_sdoc_revision(request, repo_id, revision_id):
revision = SeadocRevision.objects.get_by_revision_id(repo_id, revision_id)
if not revision:
return render_error(request, 'revision not found')
return render_error(request, _('revision not found'))
is_published = revision.is_published
if is_published: