Skip to content

Commit 25f90be

Browse files
committed
fix artifacts
1 parent 60636c6 commit 25f90be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/artifactFs.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ export class ArtifactFile extends BaseFile {
200200
artifact_id: this._parent.artifactId,
201201
stage: true,
202202
comment: "File upload via elFinder",
203-
204203
_rkwargs: true
205204
});
206205

@@ -404,7 +403,7 @@ export class ArtifactFileSystem extends BaseFileSystem {
404403
this.isCollection = artifact.type === 'collection';
405404

406405
if (this.isCollection) {
407-
const children = await this.artifactManager.list(this.artifactId);
406+
const children = await this.artifactManager.list({artifact_id: this.artifactId, stage: "all", _rkwargs: true});
408407
console.debug('ArtifactFileSystem - collection children fetched', { children });
409408

410409
this.childArtifacts = children.map(child => ({

0 commit comments

Comments
 (0)