-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: bind checked
instead of true/false-value, and show hidden stat…
#82
Conversation
…us in problem list
Deploying with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
沒看到啥問題,就是 hidden/visible 的 label 沒做 i18n 不曉得重不重要。
@@ -80,6 +83,9 @@ const maxPage = computed(() => { | |||
<td> | |||
{{ problemName }} | |||
</td> | |||
<td v-if="rolesCanReadProblemStatus.includes(session.role)"> | |||
<span class="badge ml-1">{{ status === 0 ? "VISIBLE" : "HIDDEN" }}</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
看來這邊以後需要做 i18n?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
另開 issue,這個先 merge
…us in problem list
close #81
close #83