Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dima Krasner
Sharkey
Commits
317770fb
Unverified
Commit
317770fb
authored
2 years ago
by
taiy
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
enhance(client): リアクションが無いことを伝える (#9901)
parent
19c204ea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/frontend/src/components/MkReactedUsersDialog.vue
+14
-8
14 additions, 8 deletions
packages/frontend/src/components/MkReactedUsersDialog.vue
with
14 additions
and
8 deletions
packages/frontend/src/components/MkReactedUsersDialog.vue
+
14
−
8
View file @
317770fb
...
...
@@ -10,15 +10,21 @@
<MkSpacer
:margin-min=
"20"
:margin-max=
"28"
>
<div
v-if=
"note"
class=
"_gaps"
>
<div
:class=
"$style.tabs"
>
<button
v-for=
"reaction in reactions"
:key=
"reaction"
:class=
"[$style.tab, { [$style.tabActive]: tab === reaction }]"
class=
"_button"
@
click=
"tab = reaction"
>
<MkReactionIcon
:reaction=
"reaction"
/>
<span
style=
"margin-left: 4px;"
>
{{ note.reactions[reaction] }}
</span>
</button>
<div
v-if=
"reactions.length === 0"
class=
"_fullinfo"
>
<img
src=
"https://xn--931a.moe/assets/info.jpg"
class=
"_ghost"
/>
<div>
{{ i18n.ts.nothing }}
</div>
</div>
<MkA
v-for=
"user in users"
:key=
"user.id"
:to=
"userPage(user)"
>
<MkUserCardMini
:user=
"user"
:with-chart=
"false"
/>
</MkA>
<
template
v-else
>
<div
:class=
"$style.tabs"
>
<button
v-for=
"reaction in reactions"
:key=
"reaction"
:class=
"[$style.tab,
{ [$style.tabActive]: tab === reaction }]" class="_button" @click="tab = reaction">
<MkReactionIcon
:reaction=
"reaction"
/>
<span
style=
"margin-left: 4px;"
>
{{
note
.
reactions
[
reaction
]
}}
</span>
</button>
</div>
<MkA
v-for=
"user in users"
:key=
"user.id"
:to=
"userPage(user)"
>
<MkUserCardMini
:user=
"user"
:with-chart=
"false"
/>
</MkA>
</
template
>
</div>
<div
v-else
>
<MkLoading/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment