mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-25 22:19:28 -04:00
(pronouns) disable compressed alternative when slashes are possible
This commit is contained in:
parent
09a52ea6ad
commit
604c6ed3c1
@ -131,12 +131,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="link" class="card-footer">
|
<div v-if="link" class="card-footer">
|
||||||
<LinkInput :link="link" />
|
<LinkInput :link="link" />
|
||||||
<div v-if="$config.pronouns.slashes" class="form-check form-switch">
|
|
||||||
<label>
|
|
||||||
<input v-model="linkCompressedAlternative" class="form-check-input" type="checkbox">
|
|
||||||
<T>home.generator.compressedAlternative</T>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
@ -274,7 +268,6 @@ export default {
|
|||||||
// for its' default to prevent a crash
|
// for its' default to prevent a crash
|
||||||
selectedPronoun: pronouns[this.$config.pronouns.default].clone(true) ?? 'he',
|
selectedPronoun: pronouns[this.$config.pronouns.default].clone(true) ?? 'he',
|
||||||
selectedMorpheme: '',
|
selectedMorpheme: '',
|
||||||
linkCompressedAlternative: false,
|
|
||||||
|
|
||||||
customiseMultiple: false,
|
customiseMultiple: false,
|
||||||
multiple: this.$config.pronouns.multiple ? this.$config.pronouns.multiple.examples[0].split('&') : [],
|
multiple: this.$config.pronouns.multiple ? this.$config.pronouns.multiple.examples[0].split('&') : [],
|
||||||
@ -330,7 +323,7 @@ export default {
|
|||||||
let link;
|
let link;
|
||||||
if (this.usedBaseEquals) {
|
if (this.usedBaseEquals) {
|
||||||
link = this.usedBase;
|
link = this.usedBase;
|
||||||
} else if (slashes && !this.linkCompressedAlternative) {
|
} else if (slashes) {
|
||||||
link = slashes;
|
link = slashes;
|
||||||
} else {
|
} else {
|
||||||
link = this.longLink;
|
link = this.longLink;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user