Skip to content

Commit 514f839

Browse files
authored
fix(profile): fix profile problem panel (#65)
1 parent 62d606c commit 514f839

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changes/problem-panel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"algohub": patch:fix
3+
---
4+
5+
Fix multiple panels displaying on the user profile page.

src/views/account/[id].vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ onMounted(async () => {
135135
</div>
136136
</Panel>
137137

138-
<Panel pt:header:class="!hidden" pt:content:class="!p-[1.125rem]">
139-
<DataView v-if="tab === 'problems'" :value="problemList" dataKey="id">
138+
<Panel v-if="tab === 'problems'" pt:header:class="!hidden" pt:content:class="!p-[1.125rem]">
139+
<DataView :value="problemList" dataKey="id">
140140
<template #header>
141141
<div class="inline-flex flex-wrap justify-between items-center gap-4 w-full">
142142
<InputText placeholder="Find a problem..." size="small" disabled>

0 commit comments

Comments
 (0)