chore(lint): run fix
This commit is contained in:
@@ -226,7 +226,6 @@ export const groupCollectionQuestPending = {
|
||||
id: '96ea599a-737b-47e2-ac17-8bd85b6ab62a',
|
||||
};
|
||||
|
||||
|
||||
export const collectionQuestLeaderParticipating = {
|
||||
leaderOnly: { challenges: false, getGems: false },
|
||||
quest: {
|
||||
|
||||
@@ -8,7 +8,10 @@
|
||||
<div class="dialog-close">
|
||||
<close-icon @click="close()" />
|
||||
</div>
|
||||
<h2 class="text-center textCondensed" v-once>
|
||||
<h2
|
||||
v-once
|
||||
class="text-center textCondensed"
|
||||
>
|
||||
{{ $t('invitations') }}
|
||||
</h2>
|
||||
<div
|
||||
@@ -24,17 +27,22 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="usernames">
|
||||
<user-label :user="member" class="user-label" /> <br>
|
||||
<user-label
|
||||
:user="member"
|
||||
class="user-label"
|
||||
/> <br>
|
||||
<span class="username">
|
||||
@{{ member.auth.local.username }}
|
||||
</span>
|
||||
</div>
|
||||
<div :class="{
|
||||
'status': true,
|
||||
'accepted': member.accepted === true,
|
||||
'declined': member.accepted === false,
|
||||
'pending': member.accepted === null
|
||||
}">
|
||||
<div
|
||||
:class="{
|
||||
'status': true,
|
||||
'accepted': member.accepted === true,
|
||||
'declined': member.accepted === false,
|
||||
'pending': member.accepted === null
|
||||
}"
|
||||
>
|
||||
<div
|
||||
v-if="member.accepted === true"
|
||||
class="accepted float-right"
|
||||
@@ -243,6 +251,7 @@ export default {
|
||||
ClassBadge,
|
||||
CloseIcon,
|
||||
},
|
||||
props: ['group'],
|
||||
data () {
|
||||
return {
|
||||
icons: Object.freeze({
|
||||
@@ -251,7 +260,6 @@ export default {
|
||||
}),
|
||||
};
|
||||
},
|
||||
props: ['group'],
|
||||
computed: {
|
||||
...mapGetters({
|
||||
partyMembers: 'party:members',
|
||||
|
||||
@@ -112,7 +112,6 @@ b-dropdown(:text="$t('sort')", right=true)
|
||||
import { mapState } from '@/libs/store';
|
||||
import groupUtilities from '@/mixins/groupsUtilities';
|
||||
|
||||
|
||||
import PublicGuildItem from './publicGuildItem';
|
||||
import Sidebar from './groupSidebar';
|
||||
|
||||
|
||||
@@ -8,7 +8,10 @@
|
||||
<div class="dialog-close">
|
||||
<close-icon @click="close()" />
|
||||
</div>
|
||||
<h2 class="text-center textCondensed" v-once>
|
||||
<h2
|
||||
v-once
|
||||
class="text-center textCondensed"
|
||||
>
|
||||
{{ $t('participantsTitle') }}
|
||||
</h2>
|
||||
<div
|
||||
@@ -111,7 +114,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#participant-list_modal_body {
|
||||
padding: 0;
|
||||
max-height: 450px;
|
||||
|
||||
@@ -13,7 +13,10 @@
|
||||
<h2 class="text-center textCondensed">
|
||||
{{ selectMode ? $t('selectQuest') : $t('questDetailsTitle') }}
|
||||
</h2>
|
||||
<div class="quest-panel" v-if="selectMode">
|
||||
<div
|
||||
v-if="selectMode"
|
||||
class="quest-panel"
|
||||
>
|
||||
<div class="quest-panel-header">
|
||||
<h3>
|
||||
{{ $t('yourQuests') }}
|
||||
@@ -77,13 +80,19 @@
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
<div v-if="questData" class="quest-combined-content">
|
||||
<div
|
||||
v-if="questData"
|
||||
class="quest-combined-content"
|
||||
>
|
||||
<questDialogContent
|
||||
:item="questData"
|
||||
:group="group"
|
||||
class="quest-detail"
|
||||
/>
|
||||
<quest-rewards :quest="questData" class="mt-4" />
|
||||
<quest-rewards
|
||||
:quest="questData"
|
||||
class="mt-4"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
v-if="!groupHasQuest"
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
>
|
||||
<div class="col-12 text-center">
|
||||
<div
|
||||
v-once
|
||||
class="svg-icon quest-icon color"
|
||||
v-html="icons.questIcon"
|
||||
v-once
|
||||
></div>
|
||||
<h4 v-once>
|
||||
{{ $t('yourPartyIsNotOnQuest') }}
|
||||
@@ -86,8 +86,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="hasPendingQuestItems"
|
||||
class="item-progress-pending mb-2">
|
||||
<div
|
||||
v-if="hasPendingQuestItems"
|
||||
class="item-progress-pending mb-2"
|
||||
>
|
||||
<div class="pending-amount pt-2 pb-2">
|
||||
{{ $t('questItemsPending', { amount: user.party.quest.progress.collectedItems }) }}
|
||||
</div>
|
||||
@@ -126,9 +128,9 @@
|
||||
<div class="col-6">
|
||||
<span class="float-left hp-value">
|
||||
<div
|
||||
v-once
|
||||
class="svg-icon health-icon"
|
||||
v-html="icons.healthNoPaddingIcon"
|
||||
v-once
|
||||
></div>
|
||||
{{
|
||||
(Math.ceil(parseFloat(group.quest.progress.hp) * 100) / 100)
|
||||
@@ -151,9 +153,9 @@
|
||||
progress on the group doc? Each user could have different progress.-->
|
||||
<span class="float-right pending-value">
|
||||
<div
|
||||
v-once
|
||||
class="svg-icon sword-icon"
|
||||
v-html="icons.swordIcon"
|
||||
v-once
|
||||
></div>
|
||||
{{
|
||||
(user.party.quest.progress.up || 0)
|
||||
@@ -187,9 +189,9 @@
|
||||
<div class="col-6">
|
||||
<span class="float-left rage-value">
|
||||
<div
|
||||
v-once
|
||||
class="svg-icon rage-icon icon-16"
|
||||
v-html="icons.rageIcon"
|
||||
v-once
|
||||
>
|
||||
</div>
|
||||
<span
|
||||
@@ -229,8 +231,10 @@
|
||||
></div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="onPendingQuest || onActiveQuest"
|
||||
class="quest-buttons">
|
||||
<div
|
||||
v-if="onPendingQuest || onActiveQuest"
|
||||
class="quest-buttons"
|
||||
>
|
||||
<button
|
||||
class="btn btn-secondary w-100"
|
||||
@click="openQuestDetails()"
|
||||
@@ -238,8 +242,10 @@
|
||||
{{ $t('viewDetails') }}
|
||||
</button>
|
||||
</div>
|
||||
<div v-if="userIsQuestLeader && !onActiveQuest"
|
||||
class="quest-buttons">
|
||||
<div
|
||||
v-if="userIsQuestLeader && !onActiveQuest"
|
||||
class="quest-buttons"
|
||||
>
|
||||
<button
|
||||
class="btn btn-success w-100"
|
||||
@click="startQuest()"
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
>
|
||||
<template v-slot:button-content>
|
||||
<span
|
||||
v-once
|
||||
class="svg-icon inline menuIcon"
|
||||
v-html="icons.menuIcon"
|
||||
v-once
|
||||
>
|
||||
</span>
|
||||
</template>
|
||||
@@ -38,9 +38,9 @@
|
||||
>
|
||||
<span class="with-icon">
|
||||
<span
|
||||
v-once
|
||||
class="svg-icon icon-16 color"
|
||||
v-html="icons.sparklesIcon"
|
||||
v-once
|
||||
></span>
|
||||
<span v-once>
|
||||
{{ $t('upgradeToGroup') }}
|
||||
@@ -54,9 +54,9 @@
|
||||
>
|
||||
<span class="with-icon">
|
||||
<span
|
||||
v-once
|
||||
class="svg-icon icon-16 color"
|
||||
v-html="icons.usersIcon"
|
||||
v-once
|
||||
></span>
|
||||
<span v-once>
|
||||
{{ $t(isParty ? 'inviteToParty' : 'inviteToGuild') }}
|
||||
@@ -69,9 +69,9 @@
|
||||
>
|
||||
<span class="with-icon">
|
||||
<span
|
||||
v-once
|
||||
class="svg-icon icon-16 color"
|
||||
v-html="icons.messageIcon"
|
||||
v-once
|
||||
></span>
|
||||
<span v-once>
|
||||
{{ $t(isParty ? 'messagePartyLeader' : 'messageGuildLeader') }}
|
||||
@@ -85,9 +85,9 @@
|
||||
>
|
||||
<span class="with-icon">
|
||||
<span
|
||||
v-once
|
||||
class="svg-icon icon-16 color"
|
||||
v-html="icons.editIcon"
|
||||
v-once
|
||||
></span>
|
||||
<span v-once>
|
||||
{{ isParty ? $t('editParty') : $t('editGuild') }}
|
||||
@@ -101,9 +101,9 @@
|
||||
>
|
||||
<span class="with-icon">
|
||||
<span
|
||||
v-once
|
||||
class="svg-icon icon-16 color"
|
||||
v-html="icons.leaveIcon"
|
||||
v-once
|
||||
></span>
|
||||
<span v-once>
|
||||
{{ isParty ? $t('leaveParty') : $t('leaveGuild') }}
|
||||
@@ -150,7 +150,6 @@ import editIcon from '@/assets/svg/edit.svg';
|
||||
import messageIcon from '@/assets/svg/message.svg';
|
||||
import usersIcon from '@/assets/svg/users.svg';
|
||||
|
||||
|
||||
export default {
|
||||
components: {
|
||||
groupChallenges,
|
||||
|
||||
Reference in New Issue
Block a user