Skip to content

Commit

Permalink
INCREMENTAL REBASEME
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Jul 15, 2023
1 parent f5fae5a commit 097812d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
7 changes: 4 additions & 3 deletions client/src/components/Dataset/DatasetView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ const displayUrl = computed(() => `/datasets/${props.datasetId}/display/?preview
<template>
<div>
<header class="dataset-header">
<h1>Dataset {{ datasetId }}</h1>
<h2>Dataset {{ datasetId }}</h2>
<code>More toplevel details here</code>
</header>
<div class="dataset-tabs">
<div class="dataset-tabs h-100">
<b-tabs pills card>
<b-tab title="Preview" active>
<b-tab title="Preview" active class="h-100">
<iframe
:src="displayUrl"
title="galaxy dataset display frame"
Expand Down
1 change: 1 addition & 0 deletions client/src/components/History/Content/ContentItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export default {
reportError: `/datasets/${id}/error`,
rerun: `/tool_runner/rerun?id=${id}`,
visualize: `/visualizations?dataset_id=${id}`,
view: `/datasets/${id}`,
};
},
},
Expand Down
7 changes: 5 additions & 2 deletions client/src/components/History/Content/ContentOptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
class="display-btn px-1"
size="sm"
variant="link"
:href="displayUrl"
@click.prevent.stop="$emit('display')">
:href="viewUrl"
@click.prevent.stop="$emit('view')">
<icon icon="eye" />
</b-button>
<b-button
Expand Down Expand Up @@ -106,6 +106,9 @@ export default {
displayUrl() {
return prependPath(this.itemUrls.display);
},
viewUrl() {
return prependPath(this.itemUrls.view);
},
editUrl() {
return prependPath(this.itemUrls.edit);
},
Expand Down
3 changes: 2 additions & 1 deletion client/src/components/Visualizations/PluginList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<table v-if="match(plugin)">
<tr class="plugin-list-item" :data-plugin-name="plugin.name" @click="select(plugin)">
<td>
<img v-if="plugin.logo" alt="ui thumbnails" class="plugin-list-image" :src="plugin.logo" />
<img v-if="plugin.logo" alt="ui thumbnails" class="plugin-list-image" :src="withPrefix(plugin.logo)" />
<div v-else class="plugin-list-icon fa fa-eye" />
</td>
<td>
Expand Down Expand Up @@ -58,6 +58,7 @@ import axios from "axios";
import DelayedInput from "components/Common/DelayedInput";
import { getAppRoot } from "onload/loadConfig";
import _l from "utils/localization";
import { withPrefix } from "utils/redirect";
export default {
components: {
Expand Down

0 comments on commit 097812d

Please sign in to comment.