mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge pull request #2200 from Human-Connection/2187-language-does-not-change-on-edit
2187 language does not change on edit
This commit is contained in:
commit
ab819e2957
@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<ds-card
|
<ds-card
|
||||||
|
:lang="post.language"
|
||||||
:image="post.image | proxyApiUrl"
|
:image="post.image | proxyApiUrl"
|
||||||
:class="{ 'post-card': true, 'disabled-content': post.disabled, 'post--pinned': isPinned }"
|
:class="{ 'post-card': true, 'disabled-content': post.disabled, 'post--pinned': isPinned }"
|
||||||
>
|
>
|
||||||
|
|||||||
@ -45,6 +45,7 @@ export const postFragment = lang => gql`
|
|||||||
deleted
|
deleted
|
||||||
slug
|
slug
|
||||||
image
|
image
|
||||||
|
language
|
||||||
author {
|
author {
|
||||||
...user
|
...user
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<transition name="fade" appear>
|
<transition name="fade" appear>
|
||||||
<ds-card
|
<ds-card
|
||||||
|
:lang="post.language"
|
||||||
v-if="post && ready"
|
v-if="post && ready"
|
||||||
:image="post.image | proxyApiUrl"
|
:image="post.image | proxyApiUrl"
|
||||||
:class="{ 'post-card': true, 'disabled-content': post.disabled }"
|
:class="{ 'post-card': true, 'disabled-content': post.disabled }"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user