remove displayInviteToPartyWhenPartyIs1 setting

This commit is contained in:
negue
2023-03-29 22:58:09 +02:00
parent 1741ddfc64
commit e0300e8710
3 changed files with 1 additions and 23 deletions
@@ -78,28 +78,6 @@
</td>
</tr>
</table>
<br>
<br>
<div>
TODO: this was only visible when party.memberCount is 1
<div
class="checkbox"
>
<label>
<input
v-model="user.preferences.displayInviteToPartyWhenPartyIs1"
type="checkbox"
class="mr-2"
@change="setUserPreference('displayInviteToPartyWhenPartyIs1')"
>
<span
v-b-popover.hover.right="$t('displayInviteToPartyWhenPartyIs1')"
class="hint"
>{{ $t('displayInviteToPartyWhenPartyIs1') }}</span>
</label>
</div>
</div>
</div>
</div>
</template>
-1
View File
@@ -162,7 +162,6 @@
"promoCode": "Promo Code",
"promoCodeApplied": "Promo Code Applied! Check your inventory",
"promoPlaceholder": "Enter Promotion Code",
"displayInviteToPartyWhenPartyIs1": "Display Invite To Party button when party has 1 member.",
"saveCustomDayStart": "Save Custom Day Start",
"registration": "Registration",
"addLocalAuth": "Add Email and Password Login",
+1
View File
@@ -537,6 +537,7 @@ export const UserSchema = new Schema({
reverseChatOrder: { $type: Boolean, default: false },
developerMode: { $type: Boolean, default: false },
background: String,
// deprecated, unused
displayInviteToPartyWhenPartyIs1: { $type: Boolean, default: true },
webhooks: {
$type: Schema.Types.Mixed,