mirror of
https://github.com/sim1222/misskey.git
synced 2025-04-29 02:37:22 +09:00
feat: reaction list2
This commit is contained in:
parent
ec877b05d4
commit
69b3244d43
@ -26,6 +26,13 @@ export function getNoteMenu(props: {
|
||||
|
||||
const appearNote = isRenote ? props.note.renote as misskey.entities.Note : props.note;
|
||||
|
||||
|
||||
function reactionList():void {
|
||||
os.popup(defineAsyncComponent(() => import('@/components/MkReactionList.vue')), {
|
||||
note: props.note,
|
||||
});
|
||||
}
|
||||
|
||||
function pakuru(): void {
|
||||
os.confirm({
|
||||
type: 'question',
|
||||
@ -245,6 +252,11 @@ export function getNoteMenu(props: {
|
||||
text: i18n.ts.translate,
|
||||
action: translate,
|
||||
} : undefined,
|
||||
{
|
||||
icon: ',',
|
||||
text: i18n.ts.showState,
|
||||
action: () => reactionList(),
|
||||
},
|
||||
null,
|
||||
statePromise.then(state => state.isFavorited ? {
|
||||
icon: 'fas fa-star',
|
||||
|
Loading…
x
Reference in New Issue
Block a user