mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 10:12:21 +00:00
remove old code
This commit is contained in:
parent
a629ec510f
commit
ed266adfc2
3 changed files with 0 additions and 27 deletions
|
|
@ -30,7 +30,6 @@
|
|||
chat(
|
||||
:label="$t('chat')",
|
||||
:group="group",
|
||||
:autocompleteContext="autocompleteContext"
|
||||
:placeholder="!isParty ? $t('chatPlaceholder') : $t('partyChatPlaceholder')",
|
||||
@fetchRecentMessages="fetchRecentMessages()"
|
||||
)
|
||||
|
|
@ -372,15 +371,6 @@ export default {
|
|||
showNoNotificationsMessage () {
|
||||
return this.group.memberCount > this.$store.state.constants.LARGE_GROUP_COUNT_MESSAGE_CUTOFF;
|
||||
},
|
||||
autocompleteContext () {
|
||||
if (this.isParty) {
|
||||
return 'party';
|
||||
} else if (this.group.privacy === 'public') {
|
||||
return 'publicGuild';
|
||||
} else {
|
||||
return 'privateGuild';
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted () {
|
||||
if (this.isParty) this.searchId = 'party';
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
chat(
|
||||
:label="$t('tavernChat')",
|
||||
:group="group",
|
||||
:autocompleteContext="'tavern'"
|
||||
:placeholder="$t('tavernCommunityGuidelinesPlaceholder')",
|
||||
@fetchRecentMessages="fetchRecentMessages()"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -85,18 +85,6 @@
|
|||
|
||||
hr
|
||||
|
||||
div
|
||||
h5 {{ $t('mentioning') }}
|
||||
h6 {{ $t('suggestMyUsername') }}
|
||||
.form-horizontal
|
||||
select.form-control(
|
||||
v-model='user.preferences.searchableUsername',
|
||||
@change='set("searchableUsername")'
|
||||
)
|
||||
option(v-for='option in searchableUsernameOptions' :value='option.value') {{ option.text }}
|
||||
|
||||
hr
|
||||
|
||||
div
|
||||
h5 {{ $t('customDayStart') }}
|
||||
.alert.alert-warning {{ $t('customDayStartInfo1') }}
|
||||
|
|
@ -271,10 +259,6 @@ export default {
|
|||
},
|
||||
displayNameIssues: [],
|
||||
usernameIssues: [],
|
||||
searchableUsernameOptions: [
|
||||
{text: this.$t('onlyPrivateSpaces'), value: false},
|
||||
{text: this.$t('everywhere'), value: true},
|
||||
],
|
||||
};
|
||||
},
|
||||
mounted () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue