Skip to content

Commit 01284f3

Browse files
Files-Tabs in Output now display filenames/basenames
1 parent dc554b7 commit 01284f3

File tree

1 file changed

+4
-2
lines changed
  • viplab-standalone-frontend-vue/src/pages/viplab

1 file changed

+4
-2
lines changed

viplab-standalone-frontend-vue/src/pages/viplab/App.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,11 @@
278278
<b-tabs card class="files" content-class="m-2" lazy>
279279
<!-- TODO: Filename verwenden -->
280280
<b-tab
281-
:title="'OutputFile ' + artifactParent_index"
281+
:title="artifact.basename || artifact.path"
282282
ref="artifact"
283283
class="artifact"
284284
v-for="(
285-
artifact, artifactParent_index
285+
artifact
286286
) in filteredArtifacts(returnedOutputJson.artifacts)"
287287
:key="artifact.identifier"
288288
>
@@ -1048,6 +1048,7 @@ export default {
10481048
if(!connectedVtks[currentBasename]) {
10491049
connectedVtks[currentBasename] = {};
10501050
connectedVtks[currentBasename].type = "s3file";
1051+
connectedVtks[currentBasename].basename = currentBasename;
10511052
connectedVtks[currentBasename].urlsOrContents = [];
10521053
connectedVtks[currentBasename].plots = currentConfig.plots;
10531054
connectedVtks[currentBasename].xlabel = currentConfig.xlabel;
@@ -1069,6 +1070,7 @@ export default {
10691070
//console.log(currentBasename + " - " + filenamePart);
10701071
connectedVtks[currentBasename].type = artifacts[a].type;
10711072
connectedVtks[currentBasename].MIMEtype = artifacts[a].MIMEtype;
1073+
connectedVtks[currentBasename].basename = currentBasename;
10721074
if (artifacts[a].url) {
10731075
connectedVtks[currentBasename].urlsOrContents.push(artifacts[a].url);
10741076
} else {

0 commit comments

Comments
 (0)