Skip to content

Commit 6e0942d

Browse files
committed
SwanShare: fix sharing inside notebook
Fix #124
1 parent 804d377 commit 6e0942d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwanShare/src/extension.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function start_notebook_view() {
330330

331331
$.get(folder_path, function (folder) {
332332

333-
if (folder.type === 'project') {
333+
if (folder.is_project) {
334334
modal.show_share_modal(folder.path);
335335
} else if (folder.type === 'directory' && folder.project) {
336336
modal.show_share_modal(folder.project);

0 commit comments

Comments
 (0)