refac: artifacts panel behaviour
This commit is contained in:
1 parent
f02ef01e0c
commit
822024f44e
1 file changed
+5
@@ -120,6 +120,11 @@
|
||||
}
|
||||
});
|
||||
|
||||
if (contents.length === 0) {
|
||||
showControls.set(false);
|
||||
showArtifacts.set(false);
|
||||
}
|
||||
|
||||
selectedContentIdx = contents ? contents.length - 1 : 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user