fix incomplete revert
This commit is contained in:
parent
ba7418aa6d
commit
6126b43aa9
|
@ -103,7 +103,10 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (["public", "home"].includes(props.note.visibility)) {
|
if (["public", "home"].includes(props.note.visibility)) {
|
||||||
|
buttonActions.push({
|
||||||
|
text: `${i18n.ts.renote} (${i18n.ts._visibility.home})`,
|
||||||
icon: "ph-house ph-bold ph-lg",
|
icon: "ph-house ph-bold ph-lg",
|
||||||
|
danger: false,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.api("notes/create", {
|
os.api("notes/create", {
|
||||||
renoteId: props.note.id,
|
renoteId: props.note.id,
|
||||||
|
|
Loading…
Reference in New Issue