mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Links included in standalone folder downloads
This commit is contained in:
parent
470a5711cf
commit
dc7d94ea77
@ -358,7 +358,8 @@ define([
|
||||
sframeChan: sframeChan
|
||||
};
|
||||
var filesData = data.sharedFolderId && ctx.sf[data.sharedFolderId] ? ctx.sf[data.sharedFolderId].filesData : ctx.data.filesData;
|
||||
var links = ctx.data.static;
|
||||
var links = ctx.sf[data.sharedFolderId] && ctx.sf[data.sharedFolderId].static ? ctx.data.static && ctx.sf[data.sharedFolderId].static : ctx.data.static
|
||||
|
||||
Object.keys(links).forEach(function(key) {
|
||||
filesData[key] = links[key];
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user