mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
add <ClientOnly> around flags, SSR seems to be having issues i can't put a finger on
This commit is contained in:
parent
5a2c19fc4b
commit
476f44da44
@ -34,6 +34,7 @@
|
||||
</div>
|
||||
|
||||
<div v-if="profile.flags.length || profile.customFlags.length" :class="['col-12', manyFlagsLayout ? '' : 'col-lg-6']">
|
||||
<ClientOnly>
|
||||
<ul class="list-inline">
|
||||
<li v-for="flag in profile.flags" v-if="allFlags[flag]" class="list-inline-item p-1">
|
||||
<Flag :name="flag.startsWith('-') ? allFlags[flag] : $translateForPronoun(allFlags[flag], mainPronoun)"
|
||||
@ -51,6 +52,7 @@
|
||||
custom/>
|
||||
</li>
|
||||
</ul>
|
||||
</ClientOnly>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -117,8 +119,10 @@
|
||||
import { buildPronoun } from "../src/buildPronoun";
|
||||
import spelling from "../plugins/spelling";
|
||||
import opinions from '../src/opinions';
|
||||
import ClientOnly from 'vue-client-only'
|
||||
|
||||
export default {
|
||||
components: { ClientOnly },
|
||||
mixins: [ spelling ],
|
||||
props: {
|
||||
user: { required: true },
|
||||
|
@ -176,11 +176,9 @@
|
||||
|
||||
<script>
|
||||
import { head } from "../src/helpers";
|
||||
import ClientOnly from 'vue-client-only'
|
||||
import opinions from '../src/opinions';
|
||||
|
||||
export default {
|
||||
components: { ClientOnly },
|
||||
data() {
|
||||
return {
|
||||
terms: [],
|
||||
|
Loading…
x
Reference in New Issue
Block a user