Skip to content

Commit

Permalink
Fix visualiation plugin list to generate and use the absolute path to
Browse files Browse the repository at this point in the history
viz logos, which should always be resolved as static content.
  • Loading branch information
dannon committed Mar 19, 2024
1 parent b9eed71 commit 7047558
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/components/Visualizations/PluginList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
v-if="plugin.logo"
alt="ui thumbnails"
class="plugin-list-image"
:src="plugin.logo" />
:src="absPath(plugin.logo)" />
<div v-else class="plugin-list-icon fa fa-eye" />
</td>
<td>
Expand Down Expand Up @@ -64,6 +64,7 @@ import axios from "axios";
import DelayedInput from "components/Common/DelayedInput";
import { getAppRoot } from "onload/loadConfig";
import _l from "utils/localization";
import { absPath } from "utils/redirect";
export default {
components: {
Expand Down Expand Up @@ -106,6 +107,7 @@ export default {
});
},
methods: {
absPath,
onSearch(newValue) {
this.search = newValue;
},
Expand Down

0 comments on commit 7047558

Please sign in to comment.