Skip to content

Commit ae9af02

Browse files
authored
Merge pull request #1676 from AtCoder-NoviSteps/#1675
:chore: Fix default tab in problems page (#1675)
2 parents 9ca2de7 + 372518f commit ae9af02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/routes/problems/+page.svelte

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@
2828
<Tabs tabStyle="underline" contentClass="bg-white dark:bg-gray-800">
2929
<!-- Task table -->
3030
<!-- WIP: UIのデザインが試行錯誤の段階であるため、管理者のみ閲覧可能 -->
31+
<!-- TODO: 一般公開するときに、デフォルトで開くタブにする -->
3132
{#if isAdmin}
32-
<TabItemWrapper workbookType={null} isOpen={true} title="テーブル">
33+
<TabItemWrapper workbookType={null} title="テーブル">
3334
<TaskTable {taskResults} {isLoggedIn} />
3435
</TabItemWrapper>
3536
{/if}
3637

3738
<!-- Grades -->
38-
<TabItemWrapper workbookType={null} title="グレード">
39+
<TabItemWrapper workbookType={null} isOpen={true} title="グレード">
3940
<TaskGradeList {taskResults} {isAdmin} {isLoggedIn}></TaskGradeList>
4041
</TabItemWrapper>
4142

0 commit comments

Comments
 (0)