mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
fix label logic
This commit is contained in:
@@ -114,7 +114,7 @@ export function ReactionPopupMenu({
|
|||||||
<li key={reaction.name}>
|
<li key={reaction.name}>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
label={
|
label={
|
||||||
index < ReactionsRowSize
|
index >= ReactionsRowSize
|
||||||
? reaction.name
|
? reaction.name
|
||||||
: `${reaction.name} (${index + 1})`
|
: `${reaction.name} (${index + 1})`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ export const GenericReaction: ReactionOption = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export const ReactionsRowSize = 6;
|
export const ReactionsRowSize = 5;
|
||||||
|
|
||||||
// The first {ReactionsRowSize} reactions are always visible.
|
// The first {ReactionsRowSize} reactions are always visible.
|
||||||
export const ReactionSet: ReactionOption[] = [
|
export const ReactionSet: ReactionOption[] = [
|
||||||
|
|||||||
Reference in New Issue
Block a user