mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2025-03-03 19:28:51 +00:00
fix(imagehelper): fix typescipt errors in imageHelper
This commit is contained in:
parent
9fdf57a3ab
commit
a0b8ad5147
@ -1,4 +1,11 @@
|
||||
const imageHelper = {
|
||||
/**
|
||||
* This server as a helper for geting image urls from the itemId
|
||||
*
|
||||
* @mixin
|
||||
*/
|
||||
import Vue from 'vue';
|
||||
|
||||
const imageHelper = Vue.extend({
|
||||
methods: {
|
||||
/**
|
||||
* returns a URL with the link to the image
|
||||
@ -10,6 +17,6 @@ const imageHelper = {
|
||||
return `${this.$axios.defaults.baseURL}/Items/${id}/Images/${type}`;
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
export default imageHelper;
|
||||
|
Loading…
x
Reference in New Issue
Block a user