Skip to content

Commit 45330c5

Browse files
authored
Merge pull request #96 from segment-oj/add-status-list-fisher
fix problem list bug
2 parents 0624c17 + 8b2c17a commit 45330c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/problem/list.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ export default {
159159
} else {
160160
color += 'color-regular-text';
161161
}
162-
x.pid = (<div class={color}>{x.pid}</div>);
163162
if (!x.enabled) {
164163
x.title = (
165164
<div>
@@ -170,6 +169,7 @@ export default {
170169
} else {
171170
x.title = (<router-link to={'/problem/' + String(x.pid)} class={color + ' text-normal'}>{ x.title }</router-link>);
172171
}
172+
x.pid = (<div class={color}>{x.pid}</div>);
173173
x.score = (<div class={color + ' text-extra-bold'}>{x.score >= 0 ? x.score : '-'}</div>);
174174
175175
x.tag = (<listTag tags={ x.tags }></listTag>);

0 commit comments

Comments
 (0)