mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
update to API screenshot changes
This commit is contained in:
parent
f24e0158af
commit
81cdebde45
1 changed files with 4 additions and 4 deletions
|
@ -11,8 +11,8 @@
|
||||||
<vue-showdown :markdown="app.description" flavor="github" />
|
<vue-showdown :markdown="app.description" flavor="github" />
|
||||||
|
|
||||||
<b-img
|
<b-img
|
||||||
v-if="app.image"
|
v-if="app.screenshot"
|
||||||
:src="app.image"
|
:src="app.screenshot"
|
||||||
aria-hidden="true" class="d-block mb-3" fluid
|
aria-hidden="true" class="d-block mb-3" fluid
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
queries: [
|
queries: [
|
||||||
['GET', 'apps/catalog?full&with_categories&with_antifeatures'],
|
['GET', 'apps/catalog?full&with_categories&with_antifeatures'],
|
||||||
['GET', 'apps/manifest?app=' + this.id]
|
['GET', `apps/manifest?app=${this.id}&with_screenshot`]
|
||||||
],
|
],
|
||||||
app: undefined,
|
app: undefined,
|
||||||
name: undefined,
|
name: undefined,
|
||||||
|
@ -221,7 +221,7 @@ export default {
|
||||||
? _app.potential_alternative_to.join(this.$i18n.t('words.separator'))
|
? _app.potential_alternative_to.join(this.$i18n.t('words.separator'))
|
||||||
: null,
|
: null,
|
||||||
description: formatI18nField(_app.doc.DESCRIPTION || _app.description),
|
description: formatI18nField(_app.doc.DESCRIPTION || _app.description),
|
||||||
image: _app.image,
|
screenshot: _app.screenshot,
|
||||||
demo: _app.upstream.demo,
|
demo: _app.upstream.demo,
|
||||||
version,
|
version,
|
||||||
license: _app.upstream.license,
|
license: _app.upstream.license,
|
||||||
|
|
Loading…
Add table
Reference in a new issue