Skip to content

Commit 3c88095

Browse files
committed
add to platform info drawer
1 parent 6eed0b6 commit 3c88095

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

frontend/src/__generated__/models/PlatformSchema.ts

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/components/Gallery/AppBar/Platform/PlatformInfoDrawer.vue

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,26 @@ watch(
413413
<span>{{ currentPlatform.hasheous_id }}</span>
414414
</v-chip>
415415
</a>
416+
<v-chip
417+
v-if="currentPlatform.flashpoint_id"
418+
class="px-0 ml-1 mt-1"
419+
size="small"
420+
title="Flashpoint"
421+
>
422+
<v-avatar class="bg-surface" size="30" rounded="0">
423+
<v-img src="/assets/scrappers/flashpoint.png" />
424+
</v-avatar>
425+
</v-chip>
426+
<v-chip
427+
v-if="currentPlatform.hltb_slug"
428+
class="px-0 ml-1 mt-1"
429+
size="small"
430+
title="HLTB"
431+
>
432+
<v-avatar class="bg-surface" size="30" rounded="0">
433+
<v-img src="/assets/scrappers/hltb.png" />
434+
</v-avatar>
435+
</v-chip>
416436
</v-col>
417437
</v-row>
418438
<v-card class="mt-4 bg-toplayer fill-width" elevation="0">

frontend/src/components/common/Game/VirtualTable.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,16 @@ function updateOptions({ sortBy }: { sortBy: SortBy }) {
249249
<v-img src="/assets/scrappers/ra.png" />
250250
</v-avatar>
251251
</v-chip>
252+
<v-chip
253+
v-if="item.flashpoint_id"
254+
class="mr-1 pa-0 item-chip"
255+
size="x-small"
256+
title="Flashpoint match"
257+
>
258+
<v-avatar size="20" rounded>
259+
<v-img src="/assets/scrappers/flashpoint.png" />
260+
</v-avatar>
261+
</v-chip>
252262
<v-chip
253263
v-if="item.hltb_id"
254264
class="mr-1 pa-0 item-chip"

0 commit comments

Comments
 (0)