Skip to content

Commit 73237a3

Browse files
committed
Reformat some files
1 parent 17d1b91 commit 73237a3

6 files changed

Lines changed: 44 additions & 24 deletions

File tree

src/components/DashboardComponents/LinkedAccounts.vue

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@
9494
size="15"
9595
end
9696
:color="copiedUsernames.has(acc.raw.username) ? 'success' : 'grey'"
97-
@click.prevent="copyUsername(acc.raw.username)">
97+
@click.prevent="copyUsername(acc.raw.username)"
98+
>
9899
{{ copiedUsernames.has(acc.raw.username) ? 'mdi-check' : 'mdi-content-copy' }}
99100
</v-icon>
100101
</div>
@@ -129,13 +130,15 @@
129130
<br>
130131
<span
131132
style="cursor: pointer"
132-
@click="copyIdentifier(acc.raw.identifier)">
133+
@click="copyIdentifier(acc.raw.identifier)"
134+
>
133135
{{ acc.raw.identifier }}
134136
</span>
135137
<span
136138
v-if="$t(`_user.type.${acc.raw.type}.name`).toUpperCase() === 'STEAM'"
137139
style="cursor: pointer"
138-
@click="copyIdentifier(getSteamid32(acc.raw.identifier))">
140+
@click="copyIdentifier(getSteamid32(acc.raw.identifier))"
141+
>
139142
<br>
140143
{{ getSteamid32(acc.raw.identifier) }}
141144
</span>
@@ -144,8 +147,9 @@
144147
<div
145148
v-if="attributes != null
146149
&& attributes[acc.raw.id] != null
147-
&& Object.keys(attributes[acc.raw.id]).length > 0">
148-
<v-divider/>
150+
&& Object.keys(attributes[acc.raw.id]).length > 0"
151+
>
152+
<v-divider />
149153
<v-card-text
150154
class="pa-0"
151155
>
@@ -158,17 +162,17 @@
158162
dense
159163
>
160164
<tbody>
161-
<tr
162-
v-for="(attrVal, attrName) in attributes[acc.raw.id]"
163-
:key="attrName"
164-
>
165-
<td>
166-
{{ attributeDefinitionsDict[attrName].title }}
167-
</td>
168-
<td>
169-
{{ attrVal }} {{ attributeDefinitionsDict[attrName].unit }}
170-
</td>
171-
</tr>
165+
<tr
166+
v-for="(attrVal, attrName) in attributes[acc.raw.id]"
167+
:key="attrName"
168+
>
169+
<td>
170+
{{ attributeDefinitionsDict[attrName].title }}
171+
</td>
172+
<td>
173+
{{ attrVal }} {{ attributeDefinitionsDict[attrName].unit }}
174+
</td>
175+
</tr>
172176
</tbody>
173177
</v-table>
174178
</v-col>

src/components/DashboardComponents/UserForumStats.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
flat
55
>
66
<v-tabs
7-
color="primary"
87
v-model="tab"
8+
color="primary"
99
grow
1010
>
1111
<v-tab>

src/components/EditorForForm.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<template>
22
<div>
3-
<span v-if="title" class="text-subtitle-1">{{ title }}</span>
3+
<span
4+
v-if="title"
5+
class="text-subtitle-1"
6+
>{{ title }}</span>
47
<Editor
58
v-if="content !== null"
69
v-model="content"

src/components/SettingComponents/AuthorizationSettingsView.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,21 @@
88
:form-schema="AuthorizationSettingsFormSchema"
99
:cancel-text="null"
1010
:submit-text="$t('save')"
11-
:actionButtonTopMargin="2"
11+
:action-button-top-margin="2"
1212
@submit="patchConfig"
1313
>
1414
<template #steam-api-key-hints>
1515
<v-alert
1616
class="mb-2"
1717
type="info"
1818
:bordered="false"
19-
:dense="true">
19+
:dense="true"
20+
>
2021
{{ $t('_authorization.steamApiKeyDescription') }}:
21-
<a href="https://steamcommunity.com/dev/apikey" target="_blank">{{ $t('link') }}</a>
22+
<a
23+
href="https://steamcommunity.com/dev/apikey"
24+
target="_blank"
25+
>{{ $t('link') }}</a>
2226
</v-alert>
2327
</template>
2428
</GenForm>

src/components/SettingComponents/ShopSettingsView.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@
2323
@submit="saveData"
2424
>
2525
<template #custom-editor="context">
26-
<EditorForForm v-bind="context" :title="$t('news')" />
26+
<EditorForForm
27+
v-bind="context"
28+
:title="$t('news')"
29+
/>
2730
</template>
2831
<template #custom-logo="context">
2932
<ImageUpload

src/components/ShopComponents/Admin/PurchasesView.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,14 @@
288288
</div>
289289
</td>
290290
<td>
291-
<UserLink v-if="cp.target_user" :user="cp.target_user" />
292-
<UserLink v-else :user="currentPurchase.user" />
291+
<UserLink
292+
v-if="cp.target_user"
293+
:user="cp.target_user"
294+
/>
295+
<UserLink
296+
v-else
297+
:user="currentPurchase.user"
298+
/>
293299
</td>
294300
</tr>
295301
</tbody>

0 commit comments

Comments
 (0)